MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
No edit summary |
|||
Line 126: | Line 126: | ||
Example below is based on FreeNAS 9.1.1 | Example below is based on FreeNAS 9.1.1 | ||
create a Jail via the FreeNAS webui | create a Jail via the FreeNAS webui - if unsure see here http://doc.freenas.org/index.php/Adding_Jails | ||
ssh into FreeNAS | ssh into FreeNAS (use putty or click the "shell" button in the left of the FreeNAS webui | ||
type the following commands | |||
<code>jls</code> | |||
pkg_add -r mysql55-server | take note of the JID of the jail you created | ||
<code>jexec n csh</code> | |||
replace n with the number of the jail you just created | |||
You are now inside your jail | |||
<code>pkg_add -r mysql55-server</code> | |||
pkg_add -r mysql55-client | pkg_add -r mysql55-client | ||
Revision as of 00:17, 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 |