https://bugs.kde.org/show_bug.cgi?id=522204

--- Comment #6 from [email protected] ---
Hi Maik,

So i need to take a care for the next release which database backend is used
while QtMySql plugin is compiled : mysql or mariadb.

1/ MacOS : i'm sure that we already use mariadb as i force this one with
macports. So it must be safe :

https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/macports/01-build-macports.sh?ref_type=heads#L351
https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/macports/config.sh?ref_type=heads#L120

Ubuntu packages:

- default-libmysqlclient-dev
- mysql-server

2/ AppImage : the package are named Mysql but it's probably a link to mariadb.

https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/appimage/host_ubuntu.inc?ref_type=heads#L109
https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/appimage/host_ubuntu.inc?ref_type=heads#L135

Gemini report that : "On Ubuntu 22.04, the default package for MySQL is
actually MariaDB, which is a drop-in replacement for MySQL. If you specifically
want to install MySQL instead, you may need to use additional configuration
steps"

3/ Windows : the VCPKG packages are named mysql, and it's not mariadb used in
the background :

https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/vcpkg/01-build-vcpkg.sh?ref_type=heads#L100
https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/vcpkg/01-build-vcpkg.sh?ref_type=heads#L117

VCPKG packages : 

- libmysql
- qtbase[sql-mysql]

Gemini said : No, the VCPKG libmysql package is specifically for MySQL, not
MariaDB. However, there is a separate package called MariaDB Connector/C for
connecting to MariaDB databases.

So i need to switch to mariadb backend under Windows for the next 9.2.0 to be
safe.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to