Auto reconnect MySQL
#1
I've noticed that Kodi only tries to connect to MySQL during startup. Sometimes, for instance after a power loss the clients will start faster than the server.

Is there a way to trigger a MySQL connection from a Python script that monitors if the server is online or not? Without restarting Kodi.

Thanks!
Reply
#2
Try to enable wake on lan (wiki)
Reply
#3
There's an option for kodi to wait for a network connection.
Reply
#4
(2015-03-03, 15:56)Glasofruix Wrote: There's an option for kodi to wait for a network connection.

Yes but thats only during boot and not afterwards. This will also only check for a network connection and not for the MySQL connection.
Reply
#5
(2015-03-03, 15:15)t4_ravenbird Wrote: Try to enable wake on lan (wiki)

That seems like a good option, I will give it a try.

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Auto reconnect MySQL0