Skip to main content

Problem after mysql root change CPANEL 74 / MySQL Server

Comments

3 comments

  • Gastón
    Sorry I found this post is the same problem that I Have ?
    0
  • cPanelLauren
    Hi @Gast"n The issue you're experiencing sounds like the case noted in that thread CPANEL-22372 you should be able to manually change the password - this issue is resolved in v76 of cPanel/WHM and is set to be backported to v74 though that hasn't been done yet. Depending on whether or not you have a remote MySQL server added it could be CPANEL-22366 which is explained as follows: Resetting local mysql root password via WHM says successful but actually fails if remote server is also present Thanks!
    0
  • steven_h
    Experiencing this as well, so we won't recommend our +- 1k cPanel users to upgrade yet. At first I noticed the SQL-root password would fail to reset, it then forcibly generated a new password which was visible in the SQL error log, but not added to ~/.my.cnf I used a new installation today to doublecheck and oddly enough the SQL root password reset would succeed now, and no questions asked when using mysql in command-line, but mysql -u root -p will not accept the new password ( ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) ) . Turns out only the [client] section is updated in ~/.my.cnf Updating the other fields manually 'fixes' the issue. This is on a CentOS 7 installation btw with WHM/cPanel v74.06
    0

Please sign in to leave a comment.