Hi,
So here's a quick history. I have an Odroid C2, and have had LibreElec on it for a while now - I always run my Kodi "clients" with the library stored on a MySQL server (have multiple Kodi installs on various platforms). I'm used to problems with the remote MySQL library and so forth, used to problems with my odd hardware choices but I live for the excitement!
The other night I launched the 'TV Show Next Aired' add-on however the system froze up. This happens, and when it does I need to yank the power - I know about the issues this could cause - and I don't mind, it doesn't take me long to restore a Kodi endpoint especially with the centralised library sitting elsewhere on the network. So, as usual I yank the power, give it a couple seconds and pop the power back in.
It had a fit at first - the usual episode of booting all the way up, starting CEC and other add-ons, loading the library and BAM, reboot. It did this a few times, and I reluctantly thought maybe I will need to restore it again. However, by about the fourth boot up it came up and didn't restart. I took this stability to remove some new add-ons I had installed, in case they were causing the reboots. It has booted everytime without fail except for one problem that I can't put my finger on.
It won't connect to the MySQL database. So, I turned up the "Wait for network" timer to 60 seconds (had this in the past on a RPi), but no luck.
Checked other Kodi clients and they're connecting to the database fine. Fired up MySQL Workbench and confirmed the database connection to be sure.
I'm not so sure what's up with it this time. I get the errors, for example;
ERROR: Unable to open database: Main_Video107 [2003](Can't connect to MySQL server on '192.168.10.19' (101))
But I'm not so sure I can see the reason for this in the log.
Could it be that the network isn't coming up fast enough? The Odroid has a static IP, which is configured on the device itself so no waiting for DHCP.
Files are there, and sources are still there and I can watch media just fine if I go via that route. FYI - media is served via SMB connection.
I'm hoping that someone with more expertise than myself can have a peek at my log file and point me in the right direction; IjVL
Thank you for reading my long winded post, and I appreciate all advice!