MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
(→Ubuntu Linux: {{kodi}} name change) |
|||
Line 22: | Line 22: | ||
#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: | ||
##Type in: <code>CREATE USER ' | ##Type in: <code>CREATE USER 'kodi' IDENTIFIED BY 'xodi';</code> and press return | ||
##Type in: <code>GRANT ALL ON *.* TO ' | ##Type in: <code>GRANT ALL ON *.* TO 'kodi';</code> and press return | ||
#Close out the command line tool with <code>\q</code> | #Close out the command line tool with <code>\q</code> | ||
Revision as of 21:54, 10 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 |