Bug 510515 - QMYSQL driver cannot be used
Summary: QMYSQL driver cannot be used
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Database (other bugs)
Version First Reported In: 8.7.0
Platform: Pop!_OS Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-12 01:22 UTC by olidel
Modified: 2025-10-12 05:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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