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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED phpMyAdmin AuthenticationCpanel.php Error

Discussion in 'Database Discussions' started by psytanium, Jan 17, 2018.

Tags:
  1. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    97
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello,

    This error appear on every mouse click I do:

    Some errors have been detected on the server!
    Please look at the bottom of this window.

    and a lonf error message appear at the bottom of the page:

    Code:
    Warning in ./libraries/plugins/auth/AuthenticationCpanel.php#629
    mysqli_connect(): (28000/1045): Access denied for user 'dynoatm'@'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 'dynoatm',
    string 'Arcache10-10-10',
    )
    ./libraries/common.inc.php#667: PMA\libraries\plugins\auth\AuthenticationCpanel->authCheck()
    ./sql.php#18: require_once(./libraries/common.inc.php)
    Thanks for your support
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,484
    Likes Received:
    1,612
    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.
     
    Metro2 likes this.
  3. DennisMidjord

    DennisMidjord Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    115
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    We had that exact error yesterday for just 1 account. Changing the password like @cPanelMichael suggests fixed the issue straight away.
     
    Metro2 likes this.
  4. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    97
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Thanks, solved :)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,484
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see that helped. Thank you for sharing the outcome.
     
  6. Yassine Bouzaka

    Yassine Bouzaka Registered

    Joined:
    Jan 19, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Not working with me , i changed mysql password (WHM)

    HTML:
    Warning in ./libraries/plugins/auth/AuthenticationCpanel.php#629
     mysqli_connect(): (28000/1045): Access denied for user 'cpses_'@'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 'cpses_tn8uz7uz1g',
    string 'L2zxcxBPDoBNSQof2DHe3kcPdBF7yH47',
    )
    ./libraries/common.inc.php#667: PMA\libraries\plugins\auth\AuthenticationCpanel->authCheck()
    ./index.php#20: require_once(./libraries/common.inc.php)
    Notice in ./libraries/plugins/auth/AuthenticationCpanel.php#81
     Undefined index: auth_type
    
    Backtrace
    
    ./libraries/common.inc.php#670: PMA\libraries\plugins\auth\AuthenticationCpanel->auth()
    ./index.php#20: require_once(./libraries/common.inc.php)
    Notice in ./libraries/plugins/auth/AuthenticationCpanel.php#99
     Undefined index: charset
    
    Backtrace
    
    ./libraries/common.inc.php#670: PMA\libraries\plugins\auth\AuthenticationCpanel->auth()
    ./index.php#20: require_once(./libraries/common.inc.php)
     Cookies required
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,484
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Are you accessing phpMyAdmin through Web Host Mnaager, or through cPanel? If it's through cPanel, the password to change is the account password via "WHM >> Password Modification".

    Thank you.
     
  8. Metro2

    Metro2 Well-Known Member

    Joined:
    May 24, 2006
    Messages:
    399
    Likes Received:
    18
    Trophy Points:
    168
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    This works like a charm for me. Had a couple user accounts with the same issue in the OP, and simply doing WHM > Password Modification without even giving them a different cPanel password works. Just did one a few minutes ago, same password the user had before, and it immediately fixed the phpMyAdmin display for them.

    As far as why this happens (and only rarely and only with one or two accounts) - my guess is it's possibly due to so many server migrations (in my case) where the client has been with me to 12 years and during that time we've phased out old servers / migrated to new ones at least 6 times. I'm guessing that occasionally during the Transfer Account process after so many times something is bound to go out of sync, but that's just my speculation.

    Thank you @cPanelMichael!
     
  9. Aeon_Sydney

    Aeon_Sydney Registered

    Joined:
    Feb 11, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    NYC Area
    cPanel Access Level:
    Root Administrator
    I have the same problem and it works for a little bit. However the next day it is broken again until I reset the root MySQL password again and it will work again until the next day.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,484
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Does a /home/$username/.my.cnf file exist for the affected account?

    Thank you.
     
Loading...

Share This Page