> The automatically generated /etc/mysql/debian.cnf includes: > [mysql_upgrade] > ... > basedir = /usr > > However, mysql_upgrade(1) says: > --basedir=path > Old option accepted for backward compatibility but ignored. > > This issue is still present in 10.11.5-3 release from SID.
No, it is not in neither Bookworm nor Deibian Sid / unstable anymore. This can be confirmed by looking into files at https://salsa.debian.org/mariadb-team/mariadb-server/-/tree/debian/latest/debian or testing with a fresh install: ``` ± docker run -it -v ${PWD}:/build -w /build debian:sid bash root@eb0c4013a610:/build# apt update root@eb0c4013a610:/build# apt install -y mariadb-server ... Setting up mariadb-plugin-provider-bzip2 (1:10.11.5-3) ... Setting up mariadb-plugin-provider-lzma (1:10.11.5-3) ... Setting up mariadb-plugin-provider-lzo (1:10.11.5-3) ... Setting up mariadb-plugin-provider-lz4 (1:10.11.5-3) ... Setting up libcgi-fast-perl (1:2.17-1) ... Setting up mariadb-plugin-provider-snappy (1:10.11.5-3) ... Processing triggers for libc-bin (2.37-12) ... Processing triggers for mariadb-server (1:10.11.5-3) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of restart. root@eb0c4013a610:/build# cat /etc/mysql/debian.cnf # THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE. # This file exists only for backwards compatibility for # tools that run '--defaults-file=/etc/mysql/debian.cnf' # and have root level access to the local filesystem. # With those permissions one can run 'mariadb' directly # anyway thanks to unix socket authentication and hence # this file is useless. See package README for more info. [client] host = localhost user = root [mysql_upgrade] host = localhost user = root # THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE. ``` If you have '[mysql_upgrade]' with anything else than above in your /etc/mysql/debian.cnf it must be a remnant from some other older prior install.