<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danmandle</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danmandle"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Danmandle"/>
	<updated>2026-06-05T04:00:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Userdata&amp;diff=65240</id>
		<title>Userdata</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Userdata&amp;diff=65240"/>
		<updated>2013-11-05T00:41:55Z</updated>

		<summary type="html">&lt;p&gt;Danmandle: Switched back to relative path for OS X to match other operating systems on this page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[General topics]]|[[Settings]]}}&lt;br /&gt;
{{DISPLAYTITLE:userdata folder}}&lt;br /&gt;
{{redv|&#039;&#039;&#039;NOTICE:&#039;&#039;&#039;|Manually editing files in the &#039;&#039;&#039;userdata&#039;&#039;&#039; folder is an &#039;&#039;&#039;advanced topic in XBMC&#039;&#039;&#039;. New users &#039;&#039;&#039;don&#039;t need to manually edit files&#039;&#039;&#039; in the &#039;&#039;&#039;userdata&#039;&#039;&#039; folder. XBMC does this for you, when you change the options in the XBMC GUI&#039;&#039; with the exception of [[advancedsettings.xml]]}}&lt;br /&gt;
{{bluev|&#039;&#039;&#039;NOTE&#039;&#039;&#039;|&#039;&#039;There are two userdata folders, the system one contains default settings necessary for XBMC to operate, and the userdata folder for user modifications. Do not touch the files in the first system-userdata folder. This page (and most references on the wiki) are about editing the second, user-accessible, &#039;&#039;&#039;userdata&#039;&#039;&#039; folder.&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;The &#039;&#039;&#039;userdata&#039;&#039;&#039; folder is where all of your settings and customizations are stored.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
== Location of the userdata folder ==&lt;br /&gt;
&amp;lt;section begin=&amp;quot;location all&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;:::&amp;lt;/includeonly&amp;gt;{{{!}} class=&amp;quot;datatable&amp;quot; &amp;lt;!-- Weird trick used to make the table indent when transcluded --&amp;gt; &lt;br /&gt;
! Operative system&lt;br /&gt;
! File path&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Android]]&#039;&#039;&#039; &#039;&#039;(see [[Userdata#Android_location|note]])&#039;&#039; || Android/data/org.xbmc.xbmc/files/.xbmc/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[iOS]]&#039;&#039;&#039; || /private/var/mobile/Library/Preferences/XBMC/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Linux]]&#039;&#039;&#039; || ~/.xbmc/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Mac OS X]]&#039;&#039;&#039; || ~/Library/Application Support/XBMC/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[OpenELEC]]&#039;&#039;&#039; || /storage/.xbmc/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Windows]] XP, 7, 8&#039;&#039;&#039; || %appdata%\XBMC\userdata\ &lt;br /&gt;
|}&amp;lt;section end=&amp;quot;location all&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Android location===&lt;br /&gt;
Sometimes the exact path will differ from device to device. The Android userdata folder is usually inside of &amp;quot;sdcard&amp;quot; so the path might be /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/&lt;br /&gt;
&lt;br /&gt;
== UserData folder contents ==&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
Below are the elements contained in the UserData folder and their role:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;addon_data&#039;&#039;&#039; - Contains configuration data for your currently installed addons, the addons themselves are not in userdata but one folder up in &#039;addons&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[The XBMC Database|Database]]&#039;&#039;&#039; - This is where all of the databases required for your [[Music Library|Music]] and [[Video Library|Video Libraries]] are located, containing any downloaded [[Scraper.xml|(scraped)]] music or video information.&lt;br /&gt;
** &#039;&#039;&#039;MyMusic#.db&#039;&#039;&#039; - Database file containing Music information.&lt;br /&gt;
** &#039;&#039;&#039;MyPrograms#.db&#039;&#039;&#039; - Database file containing Program information.&lt;br /&gt;
** &#039;&#039;&#039;MyVideos#.db&#039;&#039;&#039; - Database file containing Movie, TV Show and Music Videos information.&lt;br /&gt;
** &#039;&#039;&#039;ViewModes#.db&#039;&#039;&#039; - Database file containing information on all XBMC views (viewmode, sorting etc.).&lt;br /&gt;
** &#039;&#039;&#039;Addons#.db&#039;&#039;&#039; - Database file containing information on all XBMC addons (skins, scraper, video-addons...).&lt;br /&gt;
** &#039;&#039;&#039;Textures#.db&#039;&#039;&#039; - Database file containing information on all XBMC textures (thumbs, fanart, posters...).&lt;br /&gt;
** &#039;&#039;&#039;TV1#.db&#039;&#039;&#039; - Database file containing information on Live-TV channels (experimental PVR-builds only!).&lt;br /&gt;
** &#039;&#039;&#039;EPG#.db&#039;&#039;&#039; - Database file containing information on EPG for Live-TV (experimental PVR-builds only!).&lt;br /&gt;
:{{note|Where &amp;lt;big&amp;gt;&#039;&#039;&#039;#&#039;&#039;&#039;&amp;lt;/big&amp;gt; is the number of current &#039;&#039;&#039;[[database version]]&#039;&#039;&#039; in use.}}&lt;br /&gt;
* &#039;&#039;&#039;[[keyboard.xml|keymaps]]&#039;&#039;&#039; - This folder is where your customized keymapping files reside (e.g. MyRemote.xml or keyboard.xml)&lt;br /&gt;
* &#039;&#039;&#039;library&#039;&#039;&#039; - Directory to store custom library nodes.&lt;br /&gt;
* &#039;&#039;&#039;peripheral_data&#039;&#039;&#039; - Directory stores what exactly since its empty{{?}}&lt;br /&gt;
* &#039;&#039;&#039;[[Playlists]]&#039;&#039;&#039; - This is where your playlists are stored. There are separate subfolders for mixed, music and video playlists.&lt;br /&gt;
** &#039;&#039;&#039;mixed&#039;&#039;&#039; - playlists containing both audio and music videos, will show in both the Music and Video Libraries.&lt;br /&gt;
** &#039;&#039;&#039;music&#039;&#039;&#039; - playlists containing audio only, will show in the Music Library.&lt;br /&gt;
** &#039;&#039;&#039;video&#039;&#039;&#039; - playlists containing videos only, will show in the Video Library.&lt;br /&gt;
* &#039;&#039;&#039;[[Thumbnails#Thumbnail Cache|Thumbnails]]&#039;&#039;&#039; - Cached  Thumbnails (icons) are stored in this folder.&lt;br /&gt;
* &#039;&#039;&#039;[[advancedsettings.xml]]&#039;&#039;&#039; - A user can create this file in their UserData folder. The file can contain additional settings and pre-defined values for the settings available in the GUI (thus removing them from the GUI settings screens). Useful for advanced users and for installers.&lt;br /&gt;
* &#039;&#039;&#039;Visualizations&#039;&#039;&#039; - All of your visualization settings are stored in this folder. &amp;lt;&amp;lt;this is not present in frodo?&lt;br /&gt;
* &#039;&#039;&#039;[[favourites.xml]]&#039;&#039;&#039; - This file, which may be created by XBMC or the user in their UserData folder contains items added via the &#039;&#039;Add to Favourites&#039;&#039; context menu option.&lt;br /&gt;
* &#039;&#039;&#039;guisettings.xml&#039;&#039;&#039; - This is where your settings configured in the GUI are stored (through the User Interface [[Settings]]).&lt;br /&gt;
* &#039;&#039;&#039;[[lircmap.xml|Lircmap.xml]]&#039;&#039;&#039; - This file which may be created can contain changes to the default Lircmap (Linux Only).&lt;br /&gt;
* &#039;&#039;&#039;[[LCD.xml]]&#039;&#039;&#039; - The LCD.xml file is used for customizing the output of the LCD Display.&lt;br /&gt;
* &#039;&#039;&#039;[[partymode.xsp]]&#039;&#039;&#039; - Defines the [[Playlists#Smart Playlists|Smart Playlist]] to be used when using Party Mode for music playback.&lt;br /&gt;
* &#039;&#039;&#039;[[profiles]]&#039;&#039;&#039; - Directory stores your additionally created user-profiles settings and data information this directory may contain all the contents of the [[userdata]] list depending on settings used to create the user. {{?}}&lt;br /&gt;
* &#039;&#039;&#039;[[RssFeeds.xml]]&#039;&#039;&#039; - RssFeeds.xml is used to configure the RSS feeds displayed in XBMC.&lt;br /&gt;
* &#039;&#039;&#039;[[sources.xml]]&#039;&#039;&#039; - Defines your [[Adding Media Sources|Media Sources]] and locations.&lt;br /&gt;
* &#039;&#039;&#039;[[mediasources.xml]]&#039;&#039;&#039; - Similar to sources.xml, but just for the &amp;quot;Browse for new share&amp;quot; window.&lt;br /&gt;
* &#039;&#039;&#039;[[Profiles#Profiles folder contents|profiles.xml]]&#039;&#039;&#039; - Stores your Master user and additional user(s) [[Master lock]] codes and profiles information see also [[Settings/System#Master lock]] and [[Media sources#Locking]] &#039;&#039;&#039;{{?}}&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[autoexec.py]]&#039;&#039;&#039; - optional python script that is run at XBMC startup.&lt;br /&gt;
&lt;br /&gt;
[[Category:Settings]]&lt;br /&gt;
[[Category:XBMC Manual]]&lt;br /&gt;
[[Category:Advanced topics]]&lt;br /&gt;
{{frodo updated}}&lt;/div&gt;</summary>
		<author><name>Danmandle</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Userdata&amp;diff=65199</id>
		<title>Userdata</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Userdata&amp;diff=65199"/>
		<updated>2013-11-01T03:17:15Z</updated>

		<summary type="html">&lt;p&gt;Danmandle: updated OS X path&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[General topics]]|[[Settings]]}}&lt;br /&gt;
{{DISPLAYTITLE:userdata folder}}&lt;br /&gt;
{{redv|&#039;&#039;&#039;NOTICE:&#039;&#039;&#039;|Manually editing files in the &#039;&#039;&#039;userdata&#039;&#039;&#039; folder is an &#039;&#039;&#039;advanced topic in XBMC&#039;&#039;&#039;. New users &#039;&#039;&#039;don&#039;t need to manually edit files&#039;&#039;&#039; in the &#039;&#039;&#039;userdata&#039;&#039;&#039; folder. XBMC does this for you, when you change the options in the XBMC GUI&#039;&#039; with the exception of [[advancedsettings.xml]]}}&lt;br /&gt;
{{bluev|&#039;&#039;&#039;NOTE&#039;&#039;&#039;|&#039;&#039;There are two userdata folders, the system one contains default settings necessary for XBMC to operate, and the userdata folder for user modifications. Do not touch the files in the first system-userdata folder. This page (and most references on the wiki) are about editing the second, user-accessible, &#039;&#039;&#039;userdata&#039;&#039;&#039; folder.&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;The &#039;&#039;&#039;userdata&#039;&#039;&#039; folder is where all of your settings and customizations are stored.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
== Location of the userdata folder ==&lt;br /&gt;
&amp;lt;section begin=&amp;quot;location all&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;:::&amp;lt;/includeonly&amp;gt;{{{!}} class=&amp;quot;datatable&amp;quot; &amp;lt;!-- Weird trick used to make the table indent when transcluded --&amp;gt; &lt;br /&gt;
! Operative system&lt;br /&gt;
! File path&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Android]]&#039;&#039;&#039; &#039;&#039;(see [[Userdata#Android_location|note]])&#039;&#039; || Android/data/org.xbmc.xbmc/files/.xbmc/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[iOS]]&#039;&#039;&#039; || /private/var/mobile/Library/Preferences/XBMC/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Linux]]&#039;&#039;&#039; || ~/.xbmc/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Mac OS X]]&#039;&#039;&#039; || ~/Library/Application Support/XBMC/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[OpenELEC]]&#039;&#039;&#039; || /storage/.xbmc/userdata/ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Windows]] XP, 7, 8&#039;&#039;&#039; || %appdata%\XBMC\userdata\ &lt;br /&gt;
|}&amp;lt;section end=&amp;quot;location all&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Android location===&lt;br /&gt;
Sometimes the exact path will differ from device to device. The Android userdata folder is usually inside of &amp;quot;sdcard&amp;quot; so the path might be /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/&lt;br /&gt;
&lt;br /&gt;
== UserData folder contents ==&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
Below are the elements contained in the UserData folder and their role:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;addon_data&#039;&#039;&#039; - Contains configuration data for your currently installed addons, the addons themselves are not in userdata but one folder up in &#039;addons&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[The XBMC Database|Database]]&#039;&#039;&#039; - This is where all of the databases required for your [[Music Library|Music]] and [[Video Library|Video Libraries]] are located, containing any downloaded [[Scraper.xml|(scraped)]] music or video information.&lt;br /&gt;
** &#039;&#039;&#039;MyMusic#.db&#039;&#039;&#039; - Database file containing Music information.&lt;br /&gt;
** &#039;&#039;&#039;MyPrograms#.db&#039;&#039;&#039; - Database file containing Program information.&lt;br /&gt;
** &#039;&#039;&#039;MyVideos#.db&#039;&#039;&#039; - Database file containing Movie, TV Show and Music Videos information.&lt;br /&gt;
** &#039;&#039;&#039;ViewModes#.db&#039;&#039;&#039; - Database file containing information on all XBMC views (viewmode, sorting etc.).&lt;br /&gt;
** &#039;&#039;&#039;Addons#.db&#039;&#039;&#039; - Database file containing information on all XBMC addons (skins, scraper, video-addons...).&lt;br /&gt;
** &#039;&#039;&#039;Textures#.db&#039;&#039;&#039; - Database file containing information on all XBMC textures (thumbs, fanart, posters...).&lt;br /&gt;
** &#039;&#039;&#039;TV1#.db&#039;&#039;&#039; - Database file containing information on Live-TV channels (experimental PVR-builds only!).&lt;br /&gt;
** &#039;&#039;&#039;EPG#.db&#039;&#039;&#039; - Database file containing information on EPG for Live-TV (experimental PVR-builds only!).&lt;br /&gt;
:{{note|Where &amp;lt;big&amp;gt;&#039;&#039;&#039;#&#039;&#039;&#039;&amp;lt;/big&amp;gt; is the number of current &#039;&#039;&#039;[[database version]]&#039;&#039;&#039; in use.}}&lt;br /&gt;
* &#039;&#039;&#039;[[keyboard.xml|keymaps]]&#039;&#039;&#039; - This folder is where your customized keymapping files reside (e.g. MyRemote.xml or keyboard.xml)&lt;br /&gt;
* &#039;&#039;&#039;library&#039;&#039;&#039; - Directory to store custom library nodes.&lt;br /&gt;
* &#039;&#039;&#039;peripheral_data&#039;&#039;&#039; - Directory stores what exactly since its empty{{?}}&lt;br /&gt;
* &#039;&#039;&#039;[[Playlists]]&#039;&#039;&#039; - This is where your playlists are stored. There are separate subfolders for mixed, music and video playlists.&lt;br /&gt;
** &#039;&#039;&#039;mixed&#039;&#039;&#039; - playlists containing both audio and music videos, will show in both the Music and Video Libraries.&lt;br /&gt;
** &#039;&#039;&#039;music&#039;&#039;&#039; - playlists containing audio only, will show in the Music Library.&lt;br /&gt;
** &#039;&#039;&#039;video&#039;&#039;&#039; - playlists containing videos only, will show in the Video Library.&lt;br /&gt;
* &#039;&#039;&#039;[[Thumbnails#Thumbnail Cache|Thumbnails]]&#039;&#039;&#039; - Cached  Thumbnails (icons) are stored in this folder.&lt;br /&gt;
* &#039;&#039;&#039;[[advancedsettings.xml]]&#039;&#039;&#039; - A user can create this file in their UserData folder. The file can contain additional settings and pre-defined values for the settings available in the GUI (thus removing them from the GUI settings screens). Useful for advanced users and for installers.&lt;br /&gt;
* &#039;&#039;&#039;Visualizations&#039;&#039;&#039; - All of your visualization settings are stored in this folder. &amp;lt;&amp;lt;this is not present in frodo?&lt;br /&gt;
* &#039;&#039;&#039;[[favourites.xml]]&#039;&#039;&#039; - This file, which may be created by XBMC or the user in their UserData folder contains items added via the &#039;&#039;Add to Favourites&#039;&#039; context menu option.&lt;br /&gt;
* &#039;&#039;&#039;guisettings.xml&#039;&#039;&#039; - This is where your settings configured in the GUI are stored (through the User Interface [[Settings]]).&lt;br /&gt;
* &#039;&#039;&#039;[[lircmap.xml|Lircmap.xml]]&#039;&#039;&#039; - This file which may be created can contain changes to the default Lircmap (Linux Only).&lt;br /&gt;
* &#039;&#039;&#039;[[LCD.xml]]&#039;&#039;&#039; - The LCD.xml file is used for customizing the output of the LCD Display.&lt;br /&gt;
* &#039;&#039;&#039;[[partymode.xsp]]&#039;&#039;&#039; - Defines the [[Playlists#Smart Playlists|Smart Playlist]] to be used when using Party Mode for music playback.&lt;br /&gt;
* &#039;&#039;&#039;[[profiles]]&#039;&#039;&#039; - Directory stores your additionally created user-profiles settings and data information this directory may contain all the contents of the [[userdata]] list depending on settings used to create the user. {{?}}&lt;br /&gt;
* &#039;&#039;&#039;[[RssFeeds.xml]]&#039;&#039;&#039; - RssFeeds.xml is used to configure the RSS feeds displayed in XBMC.&lt;br /&gt;
* &#039;&#039;&#039;[[sources.xml]]&#039;&#039;&#039; - Defines your [[Adding Media Sources|Media Sources]] and locations.&lt;br /&gt;
* &#039;&#039;&#039;[[mediasources.xml]]&#039;&#039;&#039; - Similar to sources.xml, but just for the &amp;quot;Browse for new share&amp;quot; window.&lt;br /&gt;
* &#039;&#039;&#039;[[Profiles#Profiles folder contents|profiles.xml]]&#039;&#039;&#039; - Stores your Master user and additional user(s) [[Master lock]] codes and profiles information see also [[Settings/System#Master lock]] and [[Media sources#Locking]] &#039;&#039;&#039;{{?}}&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[[autoexec.py]]&#039;&#039;&#039; - optional python script that is run at XBMC startup.&lt;br /&gt;
&lt;br /&gt;
[[Category:Settings]]&lt;br /&gt;
[[Category:XBMC Manual]]&lt;br /&gt;
[[Category:Advanced topics]]&lt;br /&gt;
{{frodo updated}}&lt;/div&gt;</summary>
		<author><name>Danmandle</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=MySQL/Setting_up_MySQL&amp;diff=65194</id>
		<title>MySQL/Setting up MySQL</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=MySQL/Setting_up_MySQL&amp;diff=65194"/>
		<updated>2013-10-31T21:29:04Z</updated>

		<summary type="html">&lt;p&gt;Danmandle: /* NAS */ Updated link for Sysnology NAS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Frodo updated}}{{:HOW-TO:Sync multiple libraries/Contents}}&lt;br /&gt;
You&#039;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.&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;{{notice|Users are reporting issues with &#039;&#039;&#039;MySQL 5.6&#039;&#039;&#039;. Use &#039;&#039;&#039;MySQL 5.5&#039;&#039;&#039; instead.}}&amp;lt;/big&amp;gt;&lt;br /&gt;
MySQL can be installed on just about every major OS:&lt;br /&gt;
&lt;br /&gt;
=Ubuntu Linux=&lt;br /&gt;
&#039;&#039;&#039;Ubuntu Linux:&#039;&#039;&#039;&lt;br /&gt;
#&amp;lt;code&amp;gt;$sudo apt-get install mysql-server&amp;lt;/code&amp;gt; &#039;&#039;(see also: https://help.ubuntu.com/10.04/serverguide/C/mysql.html )&#039;&#039;&lt;br /&gt;
#Create a password when asked&lt;br /&gt;
#To configure MySQL to listen for connections from network hosts, edit &#039;&#039;/etc/mysql/my.cnf&#039;&#039; and change the bind-address directive to the server&#039;s IP address:&lt;br /&gt;
##from: &amp;lt;code&amp;gt;bind-address = 127.0.0.1&amp;lt;/code&amp;gt; &lt;br /&gt;
##to: &amp;lt;code&amp;gt;bind-address = 192.168.0.5&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Note: Replace 192.168.0.5 with the appropriate address.&lt;br /&gt;
#*Note: To allow local and remote access try comment out bind-address using a hash(#) or use &amp;lt;code&amp;gt;bind-address = 0.0.0.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#Restart your MySQL server. &amp;lt;code&amp;gt;$sudo restart mysql&amp;lt;/code&amp;gt;&lt;br /&gt;
#Get into the MySQL command line utility: &amp;lt;code&amp;gt;$mysql -u root -p&amp;lt;/code&amp;gt;&lt;br /&gt;
#Enter the following commands:&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;CREATE USER &#039;xbmc&#039; IDENTIFIED BY &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;GRANT ALL ON *.* TO &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
#Close out the command line tool with &amp;lt;code&amp;gt;\q&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Arch Linux=&lt;br /&gt;
&#039;&#039;&#039;Arch Linux:&#039;&#039;&#039;&lt;br /&gt;
*Please note: Arch, along with many other distributions, has migrated to the faster and more open MariaDB. It is a drop in replacement to MySQL and, thus, XBMC will require no modifications to work with it.&lt;br /&gt;
#Install MariaDB: &amp;lt;code&amp;gt;$ sudo pacman -S mariadb&amp;lt;/code&amp;gt;&lt;br /&gt;
#Start the service: &amp;lt;code&amp;gt;$ sudo systemctl start mysqld&amp;lt;/code&amp;gt;&lt;br /&gt;
#To have it automatically launch at startup: &amp;lt;code&amp;gt;$ sudo systemctl enable mysqld&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create a password: &amp;lt;code&amp;gt;$ /usr/bin/mysql_secure_installation&amp;lt;/code&amp;gt; &#039;&#039;This will also clean up the demo database.&#039;&#039;&lt;br /&gt;
#Get into the MariaDB command line utility: &amp;lt;code&amp;gt;$ mysql -u root -p&amp;lt;/code&amp;gt;&lt;br /&gt;
#Enter the following commands:&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;CREATE USER &#039;xbmc&#039; IDENTIFIED BY &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;GRANT ALL ON *.* TO &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
#Close out the command line tool with &amp;lt;code&amp;gt;\q&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=RedHat based Linux=&lt;br /&gt;
&#039;&#039;&#039;RedHat based Linux (RHEL, CentOS, Fedora):&#039;&#039;&#039;&lt;br /&gt;
#&amp;lt;code&amp;gt;$sudo yum install mysql-server&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create a password when asked&lt;br /&gt;
#To configure MySQL to listen for connections only from network hosts, edit &#039;&#039;/etc/mysql/my.cnf&#039;&#039; and add the bind-address directive to the server&#039;s IP address:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;bind-address = 192.168.0.5&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Note: Replace 192.168.0.5 with the appropriate address.&lt;br /&gt;
#*Note: Alternatively you can leave this file as is to allow local and remote access.&lt;br /&gt;
#Restart your MySQL server. &amp;lt;code&amp;gt;$sudo /sbin/service mysqld restart&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Recommended - Set your MySQL root password with &amp;lt;code&amp;gt;/usr/bin/mysqladmin -u root password &#039;new-password&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Get into the MySQL command line utility: &amp;lt;code&amp;gt;$mysql -u root -p&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Enter your MySQL root password as set above, or just press enter if you didn&#039;t set one to log in with a blank password&lt;br /&gt;
#Enter the following commands:&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;CREATE USER &#039;xbmc&#039; IDENTIFIED BY &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;GRANT ALL ON *.* TO &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
#Close out the command line tool with &amp;lt;code&amp;gt;\q&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Mac OS X=&lt;br /&gt;
&#039;&#039;&#039;Mac OS X:&#039;&#039;&#039;&lt;br /&gt;
#Download a copy of MySQL server from http://dev.mysql.com/downloads/mysql/&lt;br /&gt;
#In Mac OS X, go to System Preferences -&amp;gt; MySQL, and click on “Start MySQL Server”.  You’ll also want to tick to enable the “Automatically … on Startup” option.&lt;br /&gt;
#Now to set up the &amp;quot;xbmc&amp;quot; user in MySQL and give it access. Launch Terminal.app on your Mac and issue the following commands, one line at a time:&lt;br /&gt;
##&amp;lt;code&amp;gt;sudo /usr/local/mysql/bin/mysql&amp;lt;/code&amp;gt;&lt;br /&gt;
##&amp;lt;code&amp;gt;CREATE USER &#039;xbmc&#039; IDENTIFIED BY &#039;xbmc&#039;;&amp;lt;/code&amp;gt;&lt;br /&gt;
##&amp;lt;code&amp;gt;GRANT ALL ON *.* TO &#039;xbmc&#039;;&amp;lt;/code&amp;gt;&lt;br /&gt;
##&amp;lt;code&amp;gt;exit&amp;lt;/code&amp;gt;&lt;br /&gt;
#Remain in Terminal.app. Now you&#039;ll be giving other computers on your network access to MySQL. Enter the next set of commands, one line at a time:&lt;br /&gt;
##&amp;lt;code&amp;gt;cd /usr/local/mysql/support-files/&amp;lt;/code&amp;gt;&lt;br /&gt;
##&amp;lt;code&amp;gt;sudo cp my-huge.cnf /etc/my.cnf&amp;lt;/code&amp;gt;&lt;br /&gt;
##:&#039;&#039;The command line will ask for your Mac OS X user password. Enter it and press return. No text will show when you type your password in, this is normal.&lt;br /&gt;
##&amp;lt;code&amp;gt;cd /etc&amp;lt;/code&amp;gt;&lt;br /&gt;
##&amp;lt;code&amp;gt;sudo nano my.cnf&amp;lt;/code&amp;gt;&lt;br /&gt;
##:&#039;&#039;This opens a file in a command line text editor&#039;&#039;&lt;br /&gt;
##Scroll down to the [mysqld] section and add or edit the following line so that it appears as:&lt;br /&gt;
##:&amp;lt;code&amp;gt;bind-address = ***.***.***.***&amp;lt;/code&amp;gt;&lt;br /&gt;
##Save and exit from the command line text editor&lt;br /&gt;
#Reboot the Mac, or restart the MySQL service from the System Preferences pane you installed earlier&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Alternative guide for Mac OS X: http://forum.xbmc.org/showthread.php?tid=151631&lt;br /&gt;
&lt;br /&gt;
=Windows=&lt;br /&gt;
&#039;&#039;&#039;Windows:&#039;&#039;&#039;&lt;br /&gt;
#Download a copy of MySQL server from http://dev.mysql.com/downloads/mysql/&lt;br /&gt;
#Select &#039;&#039;Standard configuration&#039;&#039;&lt;br /&gt;
#Create a password when asked&lt;br /&gt;
#Select that you want the database to have network access when prompted during installation.&lt;br /&gt;
#Open the &amp;quot;MySQL Command Line Client&amp;quot; from the MySQL start menu&lt;br /&gt;
#Enter the following commands:&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;CREATE USER &#039;xbmc&#039; IDENTIFIED BY &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
##Type in: &amp;lt;code&amp;gt;GRANT ALL ON *.* TO &#039;xbmc&#039;;&amp;lt;/code&amp;gt; and press return&lt;br /&gt;
#Close out the command line tool&lt;br /&gt;
#In &#039;&#039;&#039;Windows 7&#039;&#039;&#039;, you may need to make an exception in the &amp;quot;Windows Firewall&amp;quot; &lt;br /&gt;
##Go to control panel and open windows firewall&lt;br /&gt;
##Click on advanced settings&lt;br /&gt;
##Click on Inbound Rules, then new rule&lt;br /&gt;
##Chose the port option, click next&lt;br /&gt;
##Then type in the port number you set mysql to use(Default is 3306)&lt;br /&gt;
##Make sure Allow the connection is checked then click next&lt;br /&gt;
##Name it MYSQL Inbound(or whatever you want) then click finish&lt;br /&gt;
##Use these same steps to set up the Outbound exception then name it MYSQL Outbound(or whatever you want) then you&#039;re finished.&lt;br /&gt;
#:You may or may not have to set up both in and outbound, someone with more knowledge please edit this if you know.&lt;br /&gt;
#In &#039;&#039;&#039;Windows XP&#039;&#039;&#039;, you may need to make an exception in the &amp;quot;Windows Firewall&amp;quot;&lt;br /&gt;
##Open Control Panel and Set to &#039;Classic View&#039;&lt;br /&gt;
##Double Click on Windows Firewall&lt;br /&gt;
##Click on Exception--&amp;gt;Add Port&lt;br /&gt;
##Name It MySQL XBMC or whatever you want&lt;br /&gt;
##Then type in the port number you set mysql to use(Default is 3306)&lt;br /&gt;
#:{{Note|You must do this twice:Once for UDP and once for TCP}}&lt;br /&gt;
&lt;br /&gt;
{{Note|If XBMC is unable to connect to the MySQL server, returning an error code [1130]:}}&amp;lt;br/&amp;gt;&lt;br /&gt;
If this occurs to you, try amending Step 2 above to read &amp;lt;code&amp;gt;GRANT ALL ON *.* TO &#039;xbmc&#039;@&#039;xxx.xxx.xxx.%&#039;;&amp;lt;/code&amp;gt; where xxx.xxx.xxx is the first three quadrants of your home network&#039;s IP address (192.168.1 for example) and % as the last quadrant to allow addresses on the same subnet to connect.&lt;br /&gt;
&lt;br /&gt;
=NAS=&lt;br /&gt;
MySQL can also be installed on some [[w:network-attached storage|network-attached storage (NAS)]] device devices. Here are some guides for various NAS devices that can have a MySQL server installed:&lt;br /&gt;
&lt;br /&gt;
*Devices running Arch Linux ARM (such as the PogoPlug, Dockstar, etc) can use the [[HOW-TO:Share libraries using MySQL/Setting up MySQL/ALARM|Arch Linux instructions]] on this page.&lt;br /&gt;
*[http://quixventure.com/2011/12/configure-a-synology-nas-as-mysql-server-for-xbmc/ Synology NAS as MySQL server for XBMC]&lt;br /&gt;
*http://www.robvanhamersveld.nl/2013/02/05/share-your-xbmc-12-0-library-on-a-synology-ds-or-other-nas/ Synology DS with MySQL guide based on Frodo&lt;br /&gt;
*http://forum.xbmc.org/showthread.php?tid=172548 - unRAID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;headertabs /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*If your library loads slowly with MySQL then you may wish to check out &#039;&#039;&#039;[[HOW-TO:Sync multiple libraries/Advanced notes#MySQL speed-up tweaks|these MySQL speed-up tweaks]]&#039;&#039;&#039;.&lt;br /&gt;
{{Divbox|green||&#039;&#039;&#039;Optional:&#039;&#039;&#039; For a more secure MySQL installation use these 2 commands to grant permission only to databases XBMC uses. This is useful if you plan on using your MySQL server for more than just XBMC, or if you&#039;re worried about your internal network being exposed and wanting to lock things down more, etc. If you only use the MySQL server for XBMC and that server has non-critical data on it, then this probably not necessary.&lt;br /&gt;
#&amp;lt;code&amp;gt;GRANT ALL ON `MyMusic%`.* TO &#039;xbmc&#039;@&#039;%&#039; IDENTIFIED BY &#039;xbmc&#039;;&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;GRANT ALL ON `MyVideos%`.* TO &#039;xbmc&#039;@&#039;%&#039; IDENTIFIED BY &#039;xbmc&#039;;&amp;lt;/code&amp;gt;&lt;br /&gt;
Note: these grants do not appear to give the xbmc user permissions to create required TRIGGERs.  So either figure out how to do an additional limited grant to create TRIGGERs or use the broader grant *.* statement above. }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Next|[[HOW-TO:Share libraries using MySQL/Setting up XBMC|Setting up XBMC]]}}&lt;/div&gt;</summary>
		<author><name>Danmandle</name></author>
	</entry>
</feed>