MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
>Hohlefrucht No edit summary |
>Michaelrtm (Note regarding MySQL server restart, and that commenting out the bind-address allows access) |
||
Line 13: | Line 13: | ||
##from: <code>bind-address = 127.0.0.1</code> | ##from: <code>bind-address = 127.0.0.1</code> | ||
##to: <code>bind-address = 192.168.0.5</code> | ##to: <code>bind-address = 192.168.0.5</code> | ||
#*Note: Replace 192.168.0.5 with the appropriate address. | #*Note: Replace 192.168.0.5 with the appropriate address. | ||
#*Note: Alternatively you can comment out bind-address using a hash(#) to allow local and remote access. | |||
#Restart your MySQL server. <code>$sudo restart mysql</code> | |||
#Get into the MySQL command line utility: <code>$mysql -u root -p</code> | #Get into the MySQL command line utility: <code>$mysql -u root -p</code> | ||
#Enter the following commands: | #Enter the following commands: |
Revision as of 10:54, 24 May 2012
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.
On a computer
INCOMPLETE: This page or section is incomplete. Please add information or correct uncertain data which is marked with a ? |
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.
On a NAS
MySQL can also be installed on some network-attached storage (NAS) device devices. See one of the following guides for more info:
- Pogoplug for a MySQL db in XBMC
- Synology NAS as MySQL server for XBMC
- http://quixventure.com/2011/12/configure-a-synology-nas-as-mysql-server-for-xbmc/ New link for Synology NAS as MySQL server for XBMC