2015-09-25 12:51 GMT+03:00 Matijs van Zuijlen <mat...@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.