ll possibly change both the root password and the debian-sys-maint password, of course it won't automatically change the expected debian-sys-maint password in /etc/mysql/debian.cnf. In f... ian sys maint password. =====
So now look up the debian sys maint password that debian created for you when you installed it on the new ... to flush privileges:
<code>
> SET PASSWORD FOR 'debian-sys-maint'@'localhost' = PASSWORD('password_from_/etc/mysql/debian.cnf');
> FLUSH PRIVILEGES;
> QUIT
</code>
Test