Bug 501330 - driver not loaded for mysql
Summary: driver not loaded for mysql
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Database-Mysql (other bugs)
Version First Reported In: 8.5.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-11 05:11 UTC by bh
Modified: 2025-03-11 11:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bh 2025-03-11 05:11:47 UTC
unable to get digikam working with a maria db instance running elsewhere in my network. The dreaded "Driver not loaded" error occurs.
I am mystified. How do I install the driver ? I searched and tried a few things but no luck. 
Looked for a qt6 driver package... but no joy.
I am running digikam on a manjaro (arch) rolling release... so is fairly new. What am I missing ?
Is this behaviour by design ? Or is there a missing documentation peice for this?
Comment 1 caulier.gilles 2025-03-11 05:47:40 UTC
The mysql "driver" is a Qt plugin loading dynamically on demand at run time. plugin is .so file installed on your system.

So your Manjaro must provide the famous plugin to work. Under Ubunto the package is named "libqt6sql6-mysql"

https://doc.qt.io/qt-6/sql-driver.html

So, it's a packaging problem, not digiKam...

Gilles Caulier
Comment 2 Maik Qualmann 2025-03-11 06:52:28 UTC
Under openSUSE the package is called "qt6-sql-mysql".

Maik
Comment 3 bh 2025-03-11 10:08:12 UTC
someone suggested in the manjaro forum that it could be mariadb-libs which has a dependency on Arch Linux - qt6-base 6.8.2-3 (x86_64)
Comment 4 Maik Qualmann 2025-03-11 11:26:12 UTC
To me, "mariadb-libs" doesn't sound like the Qt SQL drivers. Is there a Manjaro package list on the web?

Maik