Bug 510515

Summary: QMYSQL driver cannot be used
Product: [Applications] digikam Reporter: olidel
Component: Setup-DatabaseAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Pop!_OS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:

Description olidel 2025-10-12 01:22:33 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

QMYSQL driver cannot be used, error msg is:
qt.sql.qsqldatabase: QSqlDatabase: can not load requested driver 'QMYSQL', available drivers: QSQLITE

STEPS TO REPRODUCE
1. No configuration files are present
2. flatpak run org.kde.digikam
3. 

OBSERVED RESULT

Error nessage when trying to congiure digikam with MySQL server:

qt.sql.qsqldatabase: QSqlDatabase: can not load requested driver 'QMYSQL', available drivers: QSQLITE

EXPECTED RESULT

Can complete digikam configuration wizard.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Flatpak (popos cosmic 24.04 beta) 
ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2025-10-12 05:44:46 UTC
Flatpak is a package format that bundles all the components needed to run digiKam. Currently, Flatpak doesn't support MySQL. Like Snap packages, Flatpak uses a sandbox and isn't suitable for digiKam.

https://github.com/flathub/org.kde.digikam/issues/17

Use our AppImage, which we develop and support.

Maik