MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
(→NAS: Updated link for Sysnology NAS) |
No edit summary |
||
Line 114: | Line 114: | ||
*http://www.robvanhamersveld.nl/2013/02/05/share-your-xbmc-12-0-library-on-a-synology-ds-or-other-nas/ Synology DS with MySQL guide based on Frodo | *http://www.robvanhamersveld.nl/2013/02/05/share-your-xbmc-12-0-library-on-a-synology-ds-or-other-nas/ Synology DS with MySQL guide based on Frodo | ||
*http://forum.xbmc.org/showthread.php?tid=172548 - unRAID | *http://forum.xbmc.org/showthread.php?tid=172548 - unRAID | ||
=FreeNAS and BSD= | |||
Currently DRAFT and incomplete! | |||
http://www.freenas.org/ | |||
FreeNas is a FreeBSD based NAS system that can be run on most hardware - it utilises ZFS for disk and file management. | |||
99% of tasks can be done via the web interface. | |||
Example below is based on FreeNAS 9.1.1 | |||
create a Jail via the FreeNAS webui (example to follow) | |||
ssh into FreeNAS | |||
<code>jexec 1 csh<code> | |||
in jail | |||
pkg_add -r mysql55-server | |||
pkg_add -r mysql55-client | |||
vi /etc/rc.conf | |||
add in to the file | |||
mysql_enable="YES" | |||
service mysql-server start | |||
mysql_secure_installation | |||
mysql -u root -p | |||
#in mysql | |||
CREATE USER 'xbmc' IDENTIFIED BY 'xbmc'; | |||
GRANT ALL ON *.* TO 'xbmc'; | |||
quit; | |||
<headertabs /> | <headertabs /> |
Revision as of 21:32, 13 December 2013
HOW-TO:Sync multiple libraries/Contents
You'll need to choose which of your computers, XBMC devices, or NAS will be the MySQL server. The server needs to be on 24/7 or have wake-on-lan (preferably the former), and needs to have a local static IP. You will probably want the XBMC device that is hosting most or all of your videos and music to also be the MySQL server, but this is not required.
NOTICE: Users are reporting issues with MySQL 5.6. Use MySQL 5.5 instead. |
MySQL can be installed on just about every major OS:
- If your library loads slowly with MySQL then you may wish to check out these MySQL speed-up tweaks.
Next step:
Setting up XBMC