[debian-mysql] Bug#435744: Bug#435744: mysql-server-5.0: mysqladmin does not update all root passwords

Monty Taylor monty at inaugust.com
Tue Nov 6 06:14:39 UTC 2007


Actually, I think this bug points out another flaw which is that
multiple root password accounts are created. One account is just fine.

Is there some Debian specific reason 3 accounts are created? Upstream
creates two to work around the weird resolution order caused by having
the anonymous user present. But since we don't create the anonymous
user, % actually will match all hosts (including localhost)



Norbert Tretkowski wrote:
> Hi,
> 
> I agree with Frédéric here, we should replace
>    /usr/bin/mysqladmin -u root password 'enter-your-good-new-password-here'
> with
>    UPDATE user SET password=PASSWORD('enter-your-good-new-password-here') WHERE user='root';
> in mysql-server-5.0.README.Debian. That's the way which is used in the
> postinst.
> 
> 	Norbert
> 
> 
> 
> 
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-mysql-maint






More information about the pkg-mysql-maint mailing list