Bug 425880 - Unable to connect to a remote MariaDB server on "Driver not loaded" error
Summary: Unable to connect to a remote MariaDB server on "Driver not loaded" error
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Mysql (show other bugs)
Version: 7.0.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-27 19:20 UTC by Stephen S.
Modified: 2022-01-02 12:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen S. 2020-08-27 19:20:29 UTC
SUMMARY
- I have a MariaDB server (latest, official image) installed on a server within a Docker container container. I know it works as I am able to connect to it through DataGrip
- I have created a digikam database as per the instructions
- I have installed all MySQL dependencies on the work computer: MySQL client, MySQL-QT4 library, MySQL-QT5 library
- And yet, when I test the connection to the digikam database on the server from Digikam, I get a "Driver not loaded" error

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux: Debian 10.5, updated, Gnome
Digikam: 7.00
Comment 1 Maik Qualmann 2020-08-27 19:41:04 UTC
Please activate the debug output in the terminal:

export QT_LOGGING_RULES="digikam.*=true"

Start digiKam in the terminal and post the output in the terminal.
It should be a missing package problem. And Qt4 packages are completely out of place.

Maik
Comment 2 Stephen S. 2020-08-27 20:32:02 UTC
Thanks Maik for the prompt response. What I had not figured out is that I am using a Digikam installed from Flatpak.
Will install the Debian native version whch should yield better results.
Will keep you posted.
Comment 3 Stephen S. 2020-08-27 21:15:44 UTC
OK, everything is fine when installing from the last AppImage.
I could switch to the MariaDB server which was immediately recognized then could migrate the DB from SQLite to MariaDB.
Case closed. Thanks for the help!