Kodi Community Forum
Problems with advancedsetting.xml (goal is to get a shared database on NAS) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Problems with advancedsetting.xml (goal is to get a shared database on NAS) (/showthread.php?tid=97196)



Problems with advancedsetting.xml (goal is to get a shared database on NAS) - Kaza - 2011-03-18

Hi
Im new to XBMC and want to have a shared database located on a NAS-server
I created the advancedsettings.xml to relocate/create the database on the NAS, but I cannot get it to work probably...

What am i doing wrong?

here is my log:

21:06:39 T:1460 M:1134518272 NOTICE: load settings...
21:06:39 T:1460 M:1134452736 NOTICE: special://profile/ is mapped to: special://masterprofile/
21:06:39 T:1460 M:1134452736 NOTICE: loading special://masterprofile/guisettings.xml
21:06:39 T:1460 M:1134551040 NOTICE: Getting hardware information now...
21:06:39 T:1460 M:1134551040 NOTICE: Checking resolution 12
21:06:39 T:1460 M:1134538752 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
21:06:39 T:1460 M:1134526464 NOTICE: Loaded playercorefactory configuration
21:06:39 T:1460 M:1134526464 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
21:06:39 T:1460 M:1134526464 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
21:06:39 T:1460 M:1135001600 NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
21:06:39 T:1460 M:1135001600 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>\\NAS-SERVER1\Databaser\XBMC\Database</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>xbmc_video</name>
</videodatabase>
</advancedsettings>
21:06:39 T:1460 M:1134993408 WARNING: VIDEO database configuration is experimental.
21:06:39 T:1460 M:1134993408 NOTICE: Getting hardware information now...
21:06:39 T:1460 M:1134993408 NOTICE: Checking resolution 12
21:06:39 T:1460 M:1134993408 NOTICE: Default DVD Player: dvdplayer
21:06:39 T:1460 M:1134993408 NOTICE: Default Video Player: dvdplayer
21:06:39 T:1460 M:1134993408 NOTICE: Default Audio Player: paplayer
21:06:39 T:1460 M:1134993408 NOTICE: Enabled debug logging due to GUI setting (2)
21:06:39 T:1460 M:1135108096 NOTICE: Loading media sources from special://masterprofile/sources.xml


- jmarshall - 2011-03-19

Use smb://NAS-SERVER1/Databaser/XBMC/Database


- Philmatic - 2011-03-19

Why are you mixing MySQL with a SMB path? The only valid parameter for <host> in with MySQL as the DB Type is a hostname or an IP Address.

If you want to us MySQL then set up the database and put the hostname in the <host> field. If you're wanting to move the SQLite database to a SMB path to be shared my multiple XBMC instances, that is not supported. Use MySQL instead...


- Kaza - 2011-03-19

But how is that done? I have absolutly no experience with MySQL...


- TugboatBill - 2011-03-19

Read the lifehacker thread in the How To section.