Cannot login to dovecot after renaming mysql root

As part of hardening procedure, I need to rename root account in mysql.user table.
When I do that however, I cannot log in to dovecot. The error was "invalid username or password". Without any changes made, when I revert the username to "root", i could log in to dovecot again.

I am on Solaris 10 and using mysql 5.1.32
Who is Participating?
QLJConnect With a Mentor Author Commented:
pls delete.. double posting
All Courses

From novice to tech pro — start learning today.