MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
Prof Yaffle (talk | contribs) m (Grammar on bind-address stuff, mostly) |
No edit summary |
||
Line 12: | Line 12: | ||
#<code>$sudo apt-get install mysql-server</code> ''(see also: https://help.ubuntu.com/10.04/serverguide/C/mysql.html )'' | #<code>$sudo apt-get install mysql-server</code> ''(see also: https://help.ubuntu.com/10.04/serverguide/C/mysql.html )'' | ||
#Create a password when asked | #Create a password when asked | ||
#To configure MySQL to listen for connections from network hosts, edit ''/etc/mysql/ | #To configure MySQL to listen for connections from network hosts, edit ''/etc/mysql/mysql.conf.d/mysqld.cnf'' and change the bind-address directive to the server's IP address: | ||
##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> |
Revision as of 07:55, 18 October 2016
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 |