Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error during auto-login on phpmyadmin

Discussion in 'General Discussion' started by gildas, Apr 6, 2018.

Tags:
  1. gildas

    gildas Active Member

    Joined:
    Mar 30, 2017
    Messages:
    28
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,392
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice