SUMMARY Connection to DB lost and seems digikam isnt able to reconnect again. Restart app fix the issue STEPS TO REPRODUCE 1. Run the app 2. Reboot mysql server and wait that db is online again. 3. When DB is up again, digikam still complain about lost connection - no reconnect. OBSERVED RESULT Connection to DB isnt restored ( ? no try to reconnect ? ) EXPECTED RESULT Some watchdog thats try to reconnect to db and if not success after x tries, then show me a warning SOFTWARE/OS VERSIONS Linux/KDE Plasma: Mint 21.3 - digiKam-8.4.0-20240421T172117-Qt6-x86-64.appimage ADDITIONAL INFORMATION Server version: 8.0.36-28 Percona Server (GPL), Release '28', Revision '47601f19'$ ii percona-release 1.0-27.generic all Package to install Percona gpg key and APT repos ii percona-server-client 8.0.36-28-1.bookworm amd64 Percona Server database client binaries ii percona-server-common 8.0.36-28-1.bookworm amd64 Percona Server database common files (e.g. /etc/mysql/my.cnf) ii percona-server-server 8.0.36-28-1.bookworm amd64 Percona Server database server binaries ii percona-toolkit 3.5.7-1.bookworm amd64 Advanced MySQL and system command-line tools
Normal interruptions should be handled by digiKam, we resend SQL queries if errors occur. Restarting the server requires a new login with user name and password. Here we would actually have to start completely from scratch at runtime, like changing the database, logging in, then reading in the collection, etc. Let's see if that is relatively easy to implement. Maik