MySQL/Setting up MySQL: Difference between revisions
< MySQL
Jump to navigation
Jump to search
Line 198: | Line 198: | ||
#<code>GRANT ALL ON `MyVideos%`.* TO 'xbmc'@'%' IDENTIFIED BY 'xbmc';</code> | #<code>GRANT ALL ON `MyVideos%`.* TO 'xbmc'@'%' IDENTIFIED BY 'xbmc';</code> | ||
{{Divbox|orange|| | |||
The limited grants on this page don't give the xbmc user permissions to create required TRIGGERs during install or upgrade. | |||
'''XBMC requires these TRIGGERs to function properly.''' | '''XBMC requires these TRIGGERs to function properly.''' | ||
Use the broader grant *.* statement that is explained on the previous tabs while creating or upgrading the tables. Only restrict rights afterwards, if you need to. | |||
Only restrict rights afterwards, if you need to. | |||
Alternatively, figure out how to specifically give the account the right to create the require TRIGGERS - this varies between MySQL versions. }} | Alternatively, figure out how to specifically give the account the right to create the require TRIGGERS - this varies between MySQL versions. }} | ||
<headertabs /> | <headertabs /> | ||
Revision as of 16:24, 3 June 2014
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.
MySQL can be installed on just about every major OS:
Next step: | Setting up XBMC |