MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
({{kodi}} name changes) |
|||
Line 117: | Line 117: | ||
#Close out the command line tool | #Close out the command line tool | ||
{{Note|If | {{Note|If Kodi is unable to connect to the MySQL server, returning an error code [1130]:}}<br/> | ||
If this occurs to you, try amending Step 2 above to read <code>GRANT ALL ON *.* TO ' | If this occurs to you, try amending Step 2 above to read <code>GRANT ALL ON *.* TO 'kodi'@'xxx.xxx.xxx.%';</code> where xxx.xxx.xxx is the first three quadrants of your home network's IP address (192.168.1 for example) and % as the last quadrant to allow addresses on the same subnet to connect. | ||
=Other NAS= | =Other NAS= |
Revision as of 13:44, 16 January 2015
Share libraries w/MySQL, guide: |
MySQL | Setting up MySQL |
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.
Note: XBMC v13 seems to have fixed the issue with MySQL 5.6, making it safe to use with XBMC.
Please Note: Don't create the MySQL databases on your server. Simply set up the MySQL server itself, as XBMC will create the specific databases by itself.
MySQL can be installed on just about every major OS:
Next step: | Setting up XBMC |