Skip to main content

Access denied for user

Comments

6 comments

  • cPRex Jurassic Moderator
    Hey there! It seems like access for the root user may be broken on that system, as I would expect root to have full access to MySQL and all the tools on the machine. Can you try to fix this through our automated tool in WHM >> MySQL Root Password? This will attempt a reset of the MySQL root user password on the system, and may be enough to get that resolved for you.
    0
  • 4pples
    Hey there! It seems like access for the root user may be broken on that system, as I would expect root to have full access to MySQL and all the tools on the machine. Can you try to fix this through our automated tool in WHM >> MySQL Root Password? This will attempt a reset of the MySQL root user password on the system, and may be enough to get that resolved for you.

    Hi @cPRex, thank you kindly for the reply. I have tried, a couple of times (via WHM), but it makes no impac whatsover - same error.
    0
  • 4pples
    Seems I found the issue - password. I don't mean I had the wrong password, but rather, either the password length I had (99 chars) or some character(s) in the password that was randomly generated by my password storage program was accepted by cPanel but then borked by mysql cli. Once I clipped it down to 75 it worked. I didn't do any testing beyond this to determine whether it was an issue with length or "bad" characters. Thank you for your time and help
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to track that down! Historically, MySQL user passwords were limited to 41 characters but newer versions do allow more.
    0
  • 4pples
    thank you again, @cPRex.
    0
  • cPRex Jurassic Moderator
    You're welcome!
    0

Please sign in to leave a comment.