Skip to main content

MySQL keep down after restart

Comments

11 comments

  • 9xlinux
    Are you using Imunify360? If yes just disable/uninstall it and then check. I have the same issue and after wasting lot of time finally resolved after uninstall of Imunify360.
    0
  • dsteam
    Are you using Imunify360? If yes just disable/uninstall it and then check. I have the same issue and after wasting lot of time finally resolved after uninstall of Imunify360.

    Hi 9xlinux, my server have no setup imunify360
    0
  • techAMIGO
    Can you execute the following command and share the output with us? Additionally, include the latest errors of the'/var/log/mysqld.log' file. Command: ``` /scripts/restartsrv_mysql --status ```
    0
  • cPRex Jurassic Moderator
    Seeing the data from the log would be most helpful here. If that doesn't resolve the issue, we'd be happy to take a look for you, or you could contact CloudLinux directly since you're using MySQL Governor.
    0
  • dsteam
    Dear TechAMICO, sorry very late reply >.< Please check the attached file
    Can you execute the following command and share the output with us? Additionally, include the latest errors of the'/var/log/mysqld.log' file. Command: ``` /scripts/restartsrv_mysql --status ```

    0
  • dsteam
    Hi cPRex, Thanks for your reply, even i unistall the MySQL Governor, the MySQL still keep down after restart the service :(
    Seeing the data from the log would be most helpful here. If that doesn't resolve the issue, we'd be happy to take a look for you, or you could contact CloudLinux directly since you're using MySQL Governor.

    0
  • ITHKBO
    Have you tried editing the my.cnf and add just below it skip-grant-tables
    Than restart the SQL server Login to the root with mysql -u root -p
    Than refresh the grant tables you just skipped with FLUSH PRIVILEGES;
    Set your new password or the one you thought was used with ALTER USER 'root'@'localhost' IDENTIFIED BY 'your password';
    Than go back to the my.cnf comment the skip-grant-tables line or simply remove it either works. Restart the SQL server and try to login again and see if the service also comes up.
    0
  • SimpleSonic
    Have you tried simply resetting the MySQL root password in WHM? SQL Services --> MySQL Root Password
    0
  • cPRex Jurassic Moderator
    Those screenshots look like normal output to me. I would also just try resetting the root password for MySQL.
    0
  • dsteam
    Dear ITHKBO, Thanks for your reply, I followed your step and now the MySQL up again and not down again. Thanks for your advise. :):)
    Have you tried editing the my.cnf and add just below it skip-grant-tables
    Than restart the SQL server Login to the root with mysql -u root -p
    Than refresh the grant tables you just skipped with FLUSH PRIVILEGES;
    Set your new password or the one you thought was used with ALTER USER 'root'@'localhost' IDENTIFIED BY 'your password';
    Than go back to the my.cnf comment the skip-grant-tables line or simply remove it either works. Restart the SQL server and try to login again and see if the service also comes up.

    0
  • dsteam
    Have you tried simply resetting the MySQL root password in WHM? SQL Services --> MySQL Root Password

    Yes, followed the ITHKBO Advise step, and now back to normal ~ hurray!
    0

Please sign in to leave a comment.