Bug 501330

Summary: driver not loaded for mysql
Product: [Applications] digikam Reporter: bh
Component: Database-MysqlAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.5.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.6.0
Sentry Crash Report:

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