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!

MySQL shuts down periodically after password change

Discussion in 'Database Discussion' started by ccraig13, Feb 28, 2015.

  1. ccraig13

    ccraig13 Registered

    Joined:
    Feb 28, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm new to cPanel so I think I may have made it angry!

    I noticed the mysql root password was blank so I went ahead and updated it from the shell. Well now something keeps shutting it down and then I get an email from mysqlconnectioncheck saying I need to update /root/.my.cnf. I understand the error and updated that file using a text editor, but the problem still persists.

    Recently I ran the /usr/local/cpanel/scripts/mysqlpasswd command with root and the password as its parameters and so far things are stable. Is this what I was missing or is there more I still need to do? Thanks!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, that script should have corrected the issue. You can also use Web Host Manager to change the MySQL root password via:

    "WHM Home » SQL Services » MySQL Root Password"

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ccraig13

    ccraig13 Registered

    Joined:
    Feb 28, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks! So far it's been running without issue since I posted this!
     
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