2021-03-25, 20:29
Hello,
I'm looking to set up a second Kodi instance at home with a shared library / progress / etc. My media files are already shared over NFS from my NAS to my current Kodi instance. I have a couple of questions relating to using MySQL / MariaDB:
1. The wiki documentation instructs me to export everything in my library (NFO files) and then import again after switching to MySQL. But the current databases are all SQLite, and my cursory examination of the source code (C++ is not a language that I've ever worked with) makes it look like there's shared database code for either SQLite or MySQL. Is there a reason why I can't just dump the SQLite DBs and import the data into MySQL instead of having to do the export/import stuff?
2. For... reasons... I'd really like to run the database on a MariaDB server that I already have, but it contains some sensitive data and currently has permissions locked completely down per-DB. Aside from the wiki's "grant everything during install/upgrade and then lock down" (which isn't really feasible for me), is there any more concrete documentation on the permissions/grants needed? I know the wiki mentions triggers, though the only instance of "create trigger" that I see in the source code is a single trigger on the texture database.
Thanks for any assistance,
Jason
I'm looking to set up a second Kodi instance at home with a shared library / progress / etc. My media files are already shared over NFS from my NAS to my current Kodi instance. I have a couple of questions relating to using MySQL / MariaDB:
1. The wiki documentation instructs me to export everything in my library (NFO files) and then import again after switching to MySQL. But the current databases are all SQLite, and my cursory examination of the source code (C++ is not a language that I've ever worked with) makes it look like there's shared database code for either SQLite or MySQL. Is there a reason why I can't just dump the SQLite DBs and import the data into MySQL instead of having to do the export/import stuff?
2. For... reasons... I'd really like to run the database on a MariaDB server that I already have, but it contains some sensitive data and currently has permissions locked completely down per-DB. Aside from the wiki's "grant everything during install/upgrade and then lock down" (which isn't really feasible for me), is there any more concrete documentation on the permissions/grants needed? I know the wiki mentions triggers, though the only instance of "create trigger" that I see in the source code is a single trigger on the texture database.
Thanks for any assistance,
Jason