Bug 512435 - flatpak version is unable to connect to mysql database on remote server
Summary: flatpak version is unable to connect to mysql database on remote server
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-FlatPak (other bugs)
Version First Reported In: 8.8.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-21 11:59 UTC by kdesteigeinodergeh
Modified: 2025-11-21 12:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdesteigeinodergeh 2025-11-21 11:59:27 UTC
***
IMpossible to install. Databases can initiated correctly, but digiKam (QT6) have no MysQL/MariaDB drivers included. Sandbox prevents access to system drivers, so that it is impossible to connect. Flatpak should not be used under these circumstances
***

SUMMARY
Don't use Flatpak for DigiKam if you need a remote databse server (MySQL/Maria-DB=

STEPS TO REPRODUCE
1. [✓] org.kde.Sdk.Locale          6.9            i           flathub             321,0 kB / 415,0 MB
 [✓] org.kde.Sdk                 6.9            i           flathub             869,3 MB / 1,2 GB
works fine but:
2. flatpak run --command=sh org.kde.digikam

3. [📦 org.kde.digikam ~]$ ls /usr/lib/qt6/plugins/sqldrivers


OBSERVED RESULT
ls: Access to '/usr/lib/qt6/plugins/sqldrivers' not possible: directory or file not found

EXPECTED RESULT


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

ADDITIONAL INFORMATION

Kernel Version: 6.14.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C91
System Version: 1.0
Comment 1 caulier.gilles 2025-11-21 12:02:10 UTC
Take a look here :

https://www.digikam.org/download/binary/#linux-sandbox

Read the Flatpak documentation. If it's not enough report the problem to the Flathub team.

Best regards

Gilles Caulier
Comment 2 Maik Qualmann 2025-11-21 12:04:30 UTC
See also this Bug: https://github.com/flathub/org.kde.digikam/issues/17

Maik