MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
Line 118: | Line 118: | ||
Currently DRAFT and incomplete! | Currently DRAFT and incomplete! | ||
http://www.freenas.org/ | 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. | FreeNas is a FreeBSD based NAS system that can be run on most hardware - it utilises ZFS for disk and file management. | ||
Line 134: | Line 136: | ||
<code>jls</code> | <code>jls</code> | ||
#*Take note of the JID of the jail you created | |||
<code>jexec n csh</code> | <code>jexec n csh</code> | ||
replace n with the number of the jail you just created | #*replace n with the number of the jail you just created | ||
You are now inside your jail | |||
#*You are now inside your jail | |||
<code>pkg_add -r mysql55-server</code> | <code>pkg_add -r mysql55-server</code> | ||
Line 156: | Line 159: | ||
</code>mysql -u root -p</code> | </code>mysql -u root -p</code> | ||
<code>you are now in mysql</code> | <code>you are now in mysql</code> | ||
<code>CREATE USER 'xbmc' IDENTIFIED BY 'xbmc';</code> | <code>CREATE USER 'xbmc' IDENTIFIED BY 'xbmc';</code> |
Revision as of 00:38, 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 |