2014-07-03, 21:16
I have troubles getting mysql to work. I followed the instructions in the wiki to the letter, but still xvmc crashes upon start.
What I have:
Fedora 19, MariaDB (mysql replacement) 5.5, xmbc 12.3
What I did:
- Configured the database server to listen to 0.0.0.0:3306, create a xbmc user.
- Given this user enough privileges. I've tested this by loving in as user xvmc, and creating and dropping database.
- created the advancedsettings.xml, with the following content:
What I expecct:
- As indicated in the wiki, I expected XBMC to connect to the database server and create its databases and tables.
What happened in stead:
- XBMC crashes:
- Crash log contains:
Now according to the wiki this is caused by bad permissions, which is 100% certain not the case here.
I noticed that the advancedsetings.xml is read, as it is mentioned verbatim in the crash logs.
I also noticed that on first glance xbmc isn't even attempting to talk to the DB. There are no mentions in the mysql log file of some program trying something.
Now what could be the reason here? What have I overlooked?
What I have:
Fedora 19, MariaDB (mysql replacement) 5.5, xmbc 12.3
What I did:
- Configured the database server to listen to 0.0.0.0:3306, create a xbmc user.
- Given this user enough privileges. I've tested this by loving in as user xvmc, and creating and dropping database.
- created the advancedsettings.xml, with the following content:
Code:
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.3</host>
<port>3306</port>
<name>xbmc_video</name>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.3</host>
<port>3306</port>
<name>xbmc_audio</name>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>
- As indicated in the wiki, I expected XBMC to connect to the database server and create its databases and tables.
What happened in stead:
- XBMC crashes:
- Crash log contains:
Code:
ERROR: SQL: SQL error or missing database
Query: SELECT idVersion FROM version
Now according to the wiki this is caused by bad permissions, which is 100% certain not the case here.
I noticed that the advancedsetings.xml is read, as it is mentioned verbatim in the crash logs.
I also noticed that on first glance xbmc isn't even attempting to talk to the DB. There are no mentions in the mysql log file of some program trying something.
Now what could be the reason here? What have I overlooked?