Re: Changing MySQL debian-sys-maint
Bachsau WebWorX <[email protected]>
| Newsgroups | gmane.linux.debian.user.isp |
|---|---|
| Message-ID | <[email protected]> |
Hmm, I just tried. It works, but a sys-maint-user gets recreated by debconf even though it's not used, which makes it useless. I tried to delete it, and even deleted /etc/mysql/debian.cnf just to see what happens. Guess what? It still gets recreated. Reading through the postinst-scripts I found out this is done by MySQL-Queries, but how is it able to create a user without having a working root-login? Am 04.08.2011 10:31, schrieb Laurence Southon: > On 04/08/11 03:40, Bachsau WebWorX wrote: >> I'm talking about changing the username > > Sorry, answered the wrong question! > > The username is not hard coded in the debian-start script, or the mysql > script in /etc/logrotate.d. > > My reading of the mysql-server postinst script at > /var/lib/dpkg/info/mysql-server-5.0.postinst is that the username amd > password in /etc/mysql/debian.cnf do not get replaced if the file exists > and the contents are correct. That section of the script is the same for > mysql-server-5.1. > > So it *looks like* you could change that username, though whether > preservation will still be true for future upgardes is another question. > > Regards, > > LS