Getting the following error while trying to access phpmyadmin from within cpanel :

#1045 Cannot log in to the MySQL server

Solution :

Please change the cpanel username from within cpanel. make sure that “Allow MySQL password change” check box is selected while changing the password.