I have used LibreElec for a number of years now and it generally works wonderfully. My biggest complaint is that with 4 boxes, the watched history is not shared between them. I'm not a fan of cloud tools and did not want to use something like trakt. I tried a number of self-hosted tracker options but could never get any of them to work. My latest attempt is to have my kodi boxes use an external mysql database. This seems like it should be simpler and easier to manage. I've tried MariaDB, mysql and am now using an LXC turnkey MySql container. The database seems fine, its listening on its network port on the standard port 3306 and other applications seem to be able to reach it just fine.
I follow the instructions for configuring kodi. I have existing config in the advancedsettings.xml file and they seem to work fine. I added in the <videodatabase> and <musicdatabase> options in the xml file and rebooted. Username, password, port all correct yet when I scan my video source (or rather attempt to scan), nothing happens. No scanner up in the corner, nothing displaying on the Movies/TVShows menus. If I restore the advancedsettings.xml file to my old config, the scanning of my video directory works just fine. I feel like I am missing a step in the config but every instructional article/video I can find seems to indicate this is all I need to do. Can anyone suggest a good how-to on configuring libreelec kodi to use an external mysql database? As far as I can tell, my kodi instance isn't even trying to reach out to the database. Furthermore, if I manually navigate to one of my videos, the machine crashes and reboots immediately. If I go back to my old advancedsettings.xml, everything is fine again, I just, obviously have data stored in the local database.
I'm willing to deploy a new mqsql database but I would prefer it in a Proxmox container if possible.