Ok thanks for that, that may be a clue.
Wait for network delays Kodi (and some other network requiring services) until the network is actually up and has an IP address.
Normally Kodi will go ahead and load as soon as possible even if the network connection isn’t ready to minimise boot time but this can cause issues with things like a MySQL install where the network connection to the MySQL server must be running before Kodi starts.