2022-12-30, 17:00
I made a fresh install of my whole KODI-System and got suprised: 19.5 isn´t able to create MyMusic82 on a fresh MariaDB-Environment.
If you start KODI the 1st time, you will notice the following Log-Entries:
Later the following extract:
If you restart KODI, you will get this messages:
And so on...
Is someone able to confirm this behaviour?
To do so: just stop KODI, rename all of your old "MyMusicXX" tables (maybe the right time to remove the old stuff before MyMusic82?) and restart KODI.
This is maybe just a job for the developers ;-)
If you start KODI the 1st time, you will notice the following Log-Entries:
Quote:2022-12-30 15:43:23.410 T:8100 INFO <general>: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
[...]
<musicdatabase>
<type>mysql</type>
<host>xx.xx.xx.xx</host>
<port>3306</port>
<user>xxx</user>
<pass>*****</pass>
</musicdatabase>
</advancedsettings>
Later the following extract:
Quote:2022-12-30 15:37:18.583 T:5164 INFO <general>: MYSQL: Connected to version 10.6.10-MariaDB
2022-12-30 15:37:18.586 T:5164 ERROR <general>: Unable to open database: MyMusic82 [1049](Unknown database 'MyMusic82')
2022-12-30 15:37:18.591 T:5164 ERROR <general>: Unable to open database: MyMusic81 [1049](Unknown database 'MyMusic81')
[...]
2022-12-30 15:37:18.802 T:5164 ERROR <general>: Unable to open database: MyMusic32 [1049](Unknown database 'MyMusic32')
2022-12-30 15:37:18.809 T:5164 INFO <general>: creating version table
2022-12-30 15:37:18.825 T:5164 INFO <general>: create artist table
2022-12-30 15:37:18.839 T:5164 INFO <general>: create album table
[...]
2022-12-30 15:37:19.041 T:5164 INFO <general>: create removed_link table
2022-12-30 15:37:19.054 T:5164 INFO <general>: CMusicDatabase::CreateAnalytics - creating indices
2022-12-30 15:37:19.732 T:5164 INFO <general>: create triggers
2022-12-30 15:37:19.966 T:5164 INFO <general>: Create native MySQL/MariaDB functions
2022-12-30 15:37:19.967 T:5164 ERROR <general>: SQL: [MyMusic82] Undefined MySQL error: Code (1728)
Query: DROP FUNCTION IF EXISTS udfFirstNumberPos
2022-12-30 15:37:19.967 T:5164 ERROR <general>: CDatabase::CreateDatabase unable to create database:0
If you restart KODI, you will get this messages:
Quote:2022-12-30 15:43:23.999 T:6092 ERROR <general>: SQL: [MyMusic82] The table does not exist
Query: SELECT artistview.* FROM artistview WHERE (EXISTS (SELECT 1 FROM album_artist WHERE album_artist.idArtist = artistview.idArtist)) AND (artistview.strArtist != '') ORDER BY artistview.idArtist
2022-12-30 15:43:24.000 T:6092 ERROR <general>: CMusicDatabase::GetArtistsByWhere failed
And so on...
Is someone able to confirm this behaviour?
To do so: just stop KODI, rename all of your old "MyMusicXX" tables (maybe the right time to remove the old stuff before MyMusic82?) and restart KODI.
This is maybe just a job for the developers ;-)