Comment 11 for bug 153868

Revision history for this message
Gareth Cronin (gareth-cronin) wrote : [Solution] Re: package mysql-server-5.0 5.0.45-1ubuntu2 failed to install/upgrade - Access denied for user 'debian-sys-maint'@'localhost'

When I looked at /etc/mysql/debian.cnf, my debian-sys-maint password was C1lO0oEdaJJZrCfZ.
So... I logged into MySQL as the super-user (root in my case) and set the password for debian-sys-maint.

mysql -u root

set password for 'debian-sys-maint'@'localhost'=password('C1lO0oEdaJJZrCfZ');
flush privileges;

That worked.