Old databases not removed after migration to Leia.

  • A minor "bug" in LE upgrade:

    Just noticed that old databases aren't removed after upgrade to LE9.

    I don't know if the issue is on LE side or on KODI side...

    I'll drop the unnecessary DB's manually...

  • AFAIK it's a non-issue, the process looks like that:

    - old database is duplicated as a whole with a new name

    - the new copy is upgraded

    - after a successful upgrade, Kodi uses the new database

    - the old DB is retained as a backup just-in-case and is free to drop once everything is confirmed to work

    I have MyVideos databases ranging as far as 75 on my server, they do not do a lot of harm (about 0.5 GB disk space) and their performance impact is negligible.

  • Just noticed that old databases aren't removed after upgrade to LE9.

    I don't know if the issue is on LE side or on KODI side...

    It is by design. If for some reason the upgrade goes south (not everything in Kodi is perfect), you can have a new attempt later on. Once you are certain the new setup is working as advertised, then you could remove the older database(s).

  • Good to know! 👍 Thanks!

    Already dumped the old DB's as I have a full DB backup done.

    But as far as I can remember I haven't deleted old DB's manually since I started using MySQL few years back.

  • It's been like that since forever. And it makes even more sense with mysql, 'cos you can have kodi running different versions / different databases through the same mysql install - and inevitably will have at some point while updating.