Paths:
/private/var/mobile/Library/Preferences/XBMC/userdata
advancedsettings.xml
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>[ServerIP]</host>
<port>3306</port>
<user>[user]</user>
<pass>[password]</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>[ServerIP]</host>
<port>3306</port>
<user>[user]</user>
<pass>[password]</pass>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>SMB://[user]:[password]@[ServerIP]/xbmc/userdata/Thumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>