MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
(→How to) |
(→How to) |
||
Line 140: | Line 140: | ||
*ssh into FreeNAS | *ssh into FreeNAS | ||
**If you have a windows PC use putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) | **If you have a windows PC use putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) | ||
**(easiest) click the "shell" button in the left of the FreeNAS webui | |||
Line 171: | Line 172: | ||
*<code>mysql_secure_installation</code> | *<code>mysql_secure_installation</code> | ||
=== Configure mysql ready for xbmc to use === | |||
* </code>mysql -u root -p</code> | * </code>mysql -u root -p</code> | ||
You are now in mysql | You are now in mysql | ||
* <code>CREATE USER 'xbmc' IDENTIFIED BY 'xbmc';</code> | * <code>CREATE USER 'xbmc' IDENTIFIED BY 'xbmc';</code> | ||
* <code>GRANT ALL ON *.* TO 'xbmc';</code> | * <code>GRANT ALL ON *.* TO 'xbmc';</code> |
Revision as of 05:56, 14 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 |