MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
(→Arch Linux: thanks winestock) |
|||
Line 27: | Line 27: | ||
#Install MariaDB: <code>$sudo pacman -S mariadb</code> | #Install MariaDB: <code>$sudo pacman -S mariadb</code> | ||
#Start the service: <code>$sudo systemctl start mysqld</code> | #Start the service: <code>$sudo systemctl start mysqld</code> | ||
#To have it automatically launch at startup: <code>sudo systemctl | #To have it automatically launch at startup: <code>sudo systemctl enable mysqld</code> | ||
#Create a password: <code>$/usr/bin/mysql_secure_installation</code> ''This will also clean up the demo database.'' | #Create a password: <code>$/usr/bin/mysql_secure_installation</code> ''This will also clean up the demo database.'' | ||
#Get into the MariaDB command line utility: <code>$mysql -u root -p</code> | #Get into the MariaDB command line utility: <code>$mysql -u root -p</code> |
Revision as of 18:29, 25 July 2013
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.
NOTICE: Users are reporting issues with MySQL 5.6. Use MySQL 5.5 instead. |
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.
Next step: | Setting up XBMC |