28th Oct, 2016, 12:23 AM
Hello,
i installed MySQL on my RPi2 with XBian (sudo apt-get install mysql-server) to have one local DB for all my Kodi clients.
With my extral clients ist works well, but the local acess (with XBian) doesn´t working. The Logfile says:
But after i restarting Kodi manual it works well:
So it think Xbian strats Kodi bevor the MySQl-server and so Kodi can´t access it.
Is there a possibility that Xbian start the mysql-server bevor Kodi?
Greeting,
H.
i installed MySQL on my RPi2 with XBian (sudo apt-get install mysql-server) to have one local DB for all my Kodi clients.
With my extral clients ist works well, but the local acess (with XBian) doesn´t working. The Logfile says:
Terminal
15:59:19 29.582113 T:1953940192 NOTICE: Running database version Textures13
15:59:19 29.593109 T:1953940192 ERROR: Unable to open database: MyMusic60 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.594126 T:1953940192 ERROR: Unable to open database: MyMusic59 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
...
15:59:19 29.615755 T:1953940192 ERROR: Unable to open database: MyMusic60 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.616129 T:1953940192 ERROR: Unable to create new database
15:59:19 29.617022 T:1953940192 ERROR: Unable to open database: MyVideos107 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.618168 T:1953940192 ERROR: Unable to open database: MyVideos106 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
...
15:59:19 29.644346 T:1953940192 ERROR: Unable to open database: MyVideos107 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.644705 T:1953940192 ERROR: Unable to create new database
15:59:19 29.593109 T:1953940192 ERROR: Unable to open database: MyMusic60 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.594126 T:1953940192 ERROR: Unable to open database: MyMusic59 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
...
15:59:19 29.615755 T:1953940192 ERROR: Unable to open database: MyMusic60 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.616129 T:1953940192 ERROR: Unable to create new database
15:59:19 29.617022 T:1953940192 ERROR: Unable to open database: MyVideos107 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.618168 T:1953940192 ERROR: Unable to open database: MyVideos106 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
...
15:59:19 29.644346 T:1953940192 ERROR: Unable to open database: MyVideos107 [2002](Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2))
15:59:19 29.644705 T:1953940192 ERROR: Unable to create new database
But after i restarting Kodi manual it works well:
Terminal
xbian@RPi2 ~ $ kodi stop
xbmc stop/waiting
xbian@RPi2 ~ $ kodi start
xbmc start/running, process 4944
xbmc stop/waiting
xbian@RPi2 ~ $ kodi start
xbmc start/running, process 4944
So it think Xbian strats Kodi bevor the MySQl-server and so Kodi can´t access it.
Is there a possibility that Xbian start the mysql-server bevor Kodi?
Greeting,
H.