Problem: MySQL server starts after Kodi (to late)
|
28th Oct, 2016, 12:23 AM
Post: #1
|
|||
|
|||
MySQL server starts after Kodi (to late)
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: 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 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 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. |
|||
28th Oct, 2016, 01:27 AM
Post: #2
|
|||
|
|||
RE: MySQL server starts after Kodi (to late) | |||
28th Oct, 2016, 01:30 AM
Post: #3
|
|||
|
|||
RE: MySQL server starts after Kodi (to late)
Look into file /etc/default/xbmc
Code: # Put name of all processes which XBMC should wait for before it will be started. |
|||
28th Oct, 2016, 02:46 AM
Post: #4
|
|||
|
|||
RE: MySQL server starts after Kodi (to late)
it's magic
thanks! |
|||
28th Oct, 2016, 03:07 AM
(This post was last modified: 28th Oct, 2016 03:09 AM by rikardo1979.)
Post: #5
|
|||
|
|||
RE: MySQL server starts after Kodi (to late)
~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
28th Oct, 2016, 03:11 AM
Post: #6
|
|||
|
|||
RE: MySQL server starts after Kodi (to late)
Oh yeah - the good old time
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] library sharing using mysql-server on XBian | littlejeem | 1 | 5,604 |
30th Sep, 2015 07:08 AM Last Post: littlejeem |