How Do I Restart MySQL?

Avatar
  • updated
  • Answered

Mysql is down: Error while connecting to MySQL: Cpanel::DBI::Mysql connect('','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 156 Error while connecting to MySQL: Cpanel::DBI::Mysql connect('','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 156 ...caught


What can I do to start it up again? I'm in a shared server.

Avatar
Arn
Hello, I'm sorry to hear about your MySQL errors. When i checked the database on the server, it was running. So this condition may have been temporary. If you continue to have problems with MySQL, please submit a ticket to our live support team. They can monitor it long term and determine what needs to be done. I hope this helps to answer your question, please let us know if you require any further assistance. Regards, Arnel C.