MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
No edit summary |
|||
Line 23: | Line 23: | ||
##Type in: <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> and press return | ##Type in: <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> and press return | ||
##Type in: <code>GRANT ALL ON *.* TO 'kodi';</code> and press return | ##Type in: <code>GRANT ALL ON *.* TO 'kodi';</code> and press return | ||
##Type in: <code>flush privileges;</code> and press return | |||
#Close out the command line tool with <code>\q</code> | #Close out the command line tool with <code>\q</code> | ||
Line 36: | Line 37: | ||
##Type in: <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> and press return | ##Type in: <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> and press return | ||
##Type in: <code>GRANT ALL ON *.* TO 'kodi';</code> and press return | ##Type in: <code>GRANT ALL ON *.* TO 'kodi';</code> and press return | ||
##Type in: <code>flush privileges;</code> and press return | |||
#Close out the command line tool with <code>\q</code> | #Close out the command line tool with <code>\q</code> | ||
Line 52: | Line 54: | ||
##Type in: <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> and press return | ##Type in: <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> and press return | ||
##Type in: <code>GRANT ALL ON *.* TO 'kodi';</code> and press return | ##Type in: <code>GRANT ALL ON *.* TO 'kodi';</code> and press return | ||
##Type in: <code>flush privileges;</code> and press return | |||
#Close out the command line tool with <code>\q</code> | #Close out the command line tool with <code>\q</code> | ||
Line 199: | Line 202: | ||
* <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> | * <code>CREATE USER 'kodi' IDENTIFIED BY 'kodi';</code> | ||
* <code>GRANT ALL ON *.* TO 'kodi';</code> | * <code>GRANT ALL ON *.* TO 'kodi';</code> | ||
* <code>flush privileges;</code> | |||
* <code>quit;</code> | * <code>quit;</code> | ||
Revision as of 17:00, 20 September 2015
Share libraries w/MySQL, guide: |
MySQL | Setting up MySQL |
You'll need to choose which of your computers, Kodi 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 Kodi device that is hosting most or all of your videos and music to also be the MySQL server, but this is not required.
Please Note: Don't create the MySQL databases on your server. Simply set up the MySQL server itself, as Kodi will create the specific databases by itself.
MySQL can be installed on just about every major OS:
Next step: | Setting up Kodi |