Monday, November 30, 2026
News

digiKam 9.2: what must MySQL users do before updating?

The photo manager now supports MariaDB in place of MySQL, and its new plain-language search has one setting that sends your typed query to Google.

Photo editing software is shown on a laptop screen

digiKam 9.2, announced on November 29, drops MySQL support in favor of MariaDB. If your photo library's database runs on MySQL, back it up and move it to MariaDB before you rely on the new version. The digiKam team highly recommends that migration. SQLite is still the default database.

Does digiKam 9.2 still support MySQL?

No, the digiKam manual says MySQL support ends with version 9.2.0, which leaves MariaDB as the client-server choice. PostgreSQL support is slated for 9.3.0, still in pre-release.

This matters if you run a database server, say to share one photo collection between a desktop and a notebook, one at a time. The default, SQLite, keeps data in ordinary files and needs no server.

The release also fixes bug 522204, a failed MySQL schema update in the 9.1.0 Linux AppImage. The team still tells MySQL users to migrate.

How do you migrate a digiKam database to MariaDB?

Follow MariaDB's MySQL migration guide, linked from the digiKam manual. MariaDB recommends its MySQL to MariaDB Migrator tool and also documents a manual route, written mainly for Linux servers.

For the manual route, first copy the MySQL data directory with the server stopped, then make a logical dump with MySQL's own mysqldump. Name every digiKam database, since Core, Thumbs, Similarity and Face can be separate. Keep the guide's options, including --single-transaction, --routines, --events, --triggers and --hex-blob. Import into a fresh MariaDB server, recreate the digiKam database user and its privileges, and refresh table statistics. Don't point MariaDB at a MySQL data directory.

From MySQL 8.0 or 8.4, MariaDB suggests its 11.8 or 12.3 long-term releases. From 5.7, it names 10.11 or 11.8.

What does the digiKam migration tool leave behind?

It leaves behind thumbnails, similarity fingerprints and face recognition data when you convert between SQLite and MariaDB. The tool is under Settings, then Database Migration, and the manual says this conversion moves the Core database alone.

You rebuild the rest with the Maintenance Tools. Thumbnails and similarity data are created from scratch, and the face database has an option to rebuild its training data.

If you moved to a MariaDB server, select MariaDB Server in the database settings, enter the host, database names and login, and press Check Connection. The server's locale must match your computer's. Version 9.2.0 lists a fix for an SSL support error (bug 526233). If it still appears, the manual suggests trying skip-ssl=true under Connection Settings. That turns SSL off, so weigh it on shared networks.

Does digiKam AI search stay on your computer?

The language model runs on your computer, but one translation setting sends your typed query out. Natural Language Search turns a typed sentence, for example one asking for red-labeled landscape shots, into advanced search rules. digiKam downloads its model, about 1.1 GB, once from KDE's servers.

The announcement and manual say searches and photos are never sent anywhere. The manual also tells people writing in other languages to tick "Translate my query to English first". In the 9.2.0 source code, that option passes the typed text to Google's translation service. It is off by default. We read the code and did not run it.

Untick the box before typing client names or other private details. City and country searches work in plain language, while camera, EXIF and geolocation searches need the Advanced Search tool.

Which systems can run the digiKam 9.2 download?

The downloads cover 64-bit Windows 10 or later, macOS 11.3 or later on Intel and Apple silicon, and 64-bit Linux with glibc 2.31 or newer through an AppImage.

Qt 5 builds have ended. The release adds an Immich plugin to export to and import from a self-hosted Immich server, plus support for the Sony ILCE-7M5, Canon R50 V and Sony's ARW6 CRAW HQ raw format.

Bug fixes include files being silently overwritten when moved in the similarity search view, and the GPS Correlator removing location data when it found no match.

What should you do before the digiKam update?

Find out which database you use and back it up before installing.

  • Open Help, then Database Statistics, to see the backend and collection location. The database settings page shows how the database is set up.
  • Back up the Core database first. The manual calls it the most important file.
  • On MySQL, test the move on a copy and keep the old server until albums, tags and ratings check out.
  • Run one digiKam version on all computers sharing a database, and don't let two open the same database and collection at once.
  • Plan time to rebuild the other databases if you convert between SQLite and MariaDB.
  • Keep query translation off unless sending search text to Google is acceptable.

Related: what to check before an RDS for MySQL upgrade, why SaaS data still needs its own backup.