Error during auto-login on phpmyadmin

gildas

Well-Known Member
Mar 30, 2017
58
5
8
Paris
cPanel Access Level
Root Administrator
Hello,

We have no moment of Mysql errors when accessing phpmyadmin via CPANEL, this error is as follows:

Warning in ./libraries/plugins/auth/AuthenticationCpanel.php#629
mysqli_connect(): (28000/1045): Access denied for user USER @ localhost (using password: YES)

Backtrace

./libraries/plugins/auth/AuthenticationCpanel.php#629: mysqli_connect(
string ********,
string ********,
string ********,
string ********,
string ********,
)
./libraries/plugins/auth/AuthenticationCpanel.php#389: PMA libraries plugins auth AuthenticationCpanel::cp_mysql_auth_check(
string ******** ,
string ******** ,
)
./libraries/common.inc.php#694: PMA libraries plugins auth AuthenticationCpanel- authCheck()
./index.php#20: require_once(./libraries/common.inc.php)

If we reload our page, this error is no longer present.
Do you know where it can come from and how to solve it?

Best regards
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello,

It's possible the cPanel and MySQL password for that account is out of sync. You can try resetting the cPanel password to see if that solves the issue:

"WHM >> Password Modification"

Otherwise, check to see if a /home/$username/.my.cnf file exists under this account. If so, remove it, or update the password in this file to match the cPanel account password (or vice-versa).

Thank you.