Skip to content

Draft: WIP: Add dbconfig-mariadb alongside old MySQL version (Closes: #1079753)

THIS IS DRAFT AND POSTED ONLY FOR DISCUSSION. DO NOT MERGE.

In Debian, the package dbconfig-mysql has actually been using exclusively MariaDB in all official Debian releases since Debian 9 "stretch" from 2017. Debian 8 "jessie" was the last official Debian release to ship with MySQL at all.

Introduce new package dbconfig-mariadb alongside existing dbconfig-mysql so communicate to users what they are actually using.

Multiple packages have similar Depends as the example below from Cacti:

Depends: dbconfig-common,
         dbconfig-mysql | dbconfig-no-thanks,
...
Recommends: apache2 | lighttpd | nginx | httpd,
            default-mysql-server | virtual-mysql-server,

This will result in a very slow transition, where package maintainers can choose to switch to depend on dbconfig-mariadb specifically, and to also drop the default-mysql-* and virtual-mysql-* dependencies. There is no directly visible change for users in Debian, as they are already running MariaDB and would be running MariaDB after the change as well.

This approach will continue to keep the old dbconfig-mysql around, and it can be removed either once no package has any depends on it anymore, or when dbconfig-mariadb starts to offer the *-mysql variant as a "Provides".

Merge request reports

Loading