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.

MySQL shuts down periodically after password change

Discussion in 'Database Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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