[debian-mysql] Bug#800009: Bug#800009: Workaround found

Otto Kekäläinen otto at seravo.fi
Fri Sep 25 12:19:31 UTC 2015


2015-09-25 12:51 GMT+03:00 Matijs van Zuijlen <matijs at matijs.net>:
> Given that mariadb ships with a tool that sets a password on the root user, this
> situation is suboptimal.
>
> The MariaDB startup scripts should allow root to be identified either way, and
> allow the system administrator to specify the password in /etc/mysql/debian.cnf.

Yes, current situation is a bit suboptimal.

Note that the password in /etc/mysql/debian.cnf is not for the root
user, but for the debian-sys-maint, which in itself is an old hack to
allow the mysqld init scripts to interact with the mysqld process.

I am happy to accept patches if you have an good solution and have
time to test that is works in both install and upgrade scenarios
correctly, allowing both the root user to access mysql nicely and the
init scripts to run and access mysqld nicely without the old
debian-sys-maint hack.



More information about the pkg-mysql-maint mailing list