Skip to main content

The MySQL server is currently offline

Comments

2 comments

  • DonaldBennett
    Hello, You can run the following to create a symlink from /var/lib/mysql/mysql.sock to /tmp/mysql.sock ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock in SSH will do the trick Also you could add the following to /etc/my.cnf: [client] socket=/var/lib/mysql/mysql.sock Try it out and let me know. Thank You. EDIT: Removed incorrect syntax around /var/lib/mysql/mysql.sock
    0
  • cPanelMichael
    Hello :) Do you notice any specific error messages in /var/lib/mysql/$hostname.err at the time of the MySQL failures? Thank you.
    0

Please sign in to leave a comment.