i am trying to use mariadb as the backend database for my rpi4/libreelec/kodi install. i have created the advancedsettings.xml and pointed it to my mariadb instance. i know the connections work because the databases are created (MyMusic82 and MyVideos119), but the databases are incomplete. the tables and indexes are created, but there are no triggers and no views created.
i had this working at one point in the past, and i did a mysqldump of the database tables, triggers, indexes, etc, but no data as i figured i could always repopulate it. i have that sql output and i can see the parts of the databases that are missing. i dropped the databases and rebooted the rpi4 to force the recreation of the databases, and they seem to be incomplete. i cannot get my libraries to be loaded into mariadb.
some examples from /storage/.kodi/temp/kodi.log
2022-09-19 18:43:06.686 T:831 INFO <general>: creating version table
2022-09-19 18:43:06.887 T:831 INFO <general>: create artist table
2022-09-19 18:43:07.177 T:831 INFO <general>: create album table
2022-09-19 18:43:07.622 T:831 INFO <general>: create audiobook table
2022-09-19 18:43:07.865 T:831 INFO <general>: create album_artist table
2022-09-19 18:43:08.076 T:831 INFO <general>: create album_source table
2022-09-19 18:43:08.344 T:831 INFO <general>: create genre table
2022-09-19 18:43:08.791 T:831 INFO <general>: create path table
2022-09-19 18:43:09.129 T:831 INFO <general>: create source table
2022-09-19 18:43:09.486 T:831 INFO <general>: create source_path table
2022-09-19 18:43:09.671 T:831 INFO <general>: create song table
2022-09-19 18:43:09.870 T:831 INFO <general>: create song_artist table
2022-09-19 18:43:10.224 T:831 INFO <general>: create song_genre table
2022-09-19 18:43:10.610 T:831 INFO <general>: create role table
2022-09-19 18:43:11.017 T:831 INFO <general>: create infosetting table
2022-09-19 18:43:11.254 T:831 INFO <general>: create discography table
2022-09-19 18:43:11.516 T:831 INFO <general>: create art table
2022-09-19 18:43:11.816 T:831 INFO <general>: create versiontagscan table
2022-09-19 18:43:12.056 T:831 INFO <general>: create removed_link table
2022-09-19 18:43:12.483 T:831 INFO <general>: CreateAnalytics - creating indices
2022-09-19 18:43:20.177 T:831 INFO <general>: create triggers
2022-09-19 18:43:20.182 T:831 ERROR <general>: SQL: [MyMusic82] Undefined MySQL error: Code (1419)
Query: CREATE TRIGGER tgrDeleteAlbum AFTER delete ON album FOR EACH ROW BEGIN DELETE FROM song WHERE song.
2022-09-19 18:43:20.182 T:831 ERROR <general>: CreateDatabase unable to create database:11
Display More
the creation of the database fails, and all subsequent work is for naught because not all of the database is present. what is going on with the database creation process? i have mariadb running 10.4.19 and LibreELEC (official): 10.0.2 (RPi4.arm).