I tried this way too - but without success :(
Did you found a solution? I have the same problem. I added the root password to /etc/mysql/debian.cnf but the login still fails.
Separate names with a comma.