Here we will cover how to fix an access denied error to phpMyAdmin by resetting the cPanel password.
This error can be encountered when logging into phpMyAdmin from cPanel. The error shows an access denied message and asks for a username and password.
The exact error message is as follows:
mysqli_connect(): (28000/1045): Access denied for user 'userna5'@'localhost' (using password: YES)
This error likely means the MySQL user that has the same name as your cPanel user does not have the same password as the cPanel user.
Related Articles
Fixing the Access Denied Error
- Reset the cPanel password within AMP
NOTE: The MySQL user password should automatically be updated when the cPanel password is changed. - Log into the appropriate cPanel
- Attempt to access phpMyAdmin