Skip to main content

The MySQL server is currently offline.

Comments

5 comments

  • cPanelMichael
    Hello :) Please let us know the output in your MySQL error log (/var/lib/mysql/$hostname.err) when you restart MySQL or when you attempt to view the databases in cPanel. Thank you.
    0
  • toriqulislam
    Hi This error showing -bash: /var/lib/mysql/$hostname: No such file or directory I replaced hostname with my hostname.
    0
  • cPanelMichael
    You have to use a command such as "tail" or "cat" to review a log file. EX: tail -f /var/lib/mysql/$hostname
    Note that with a limited experience on the command line, you may want to consider consulting with a qualified system administrator or opening a support ticket so we can take a closer look. Remember to post the ticket number here should you decide to open a ticket. Thank you.
    0
  • toriqulislam
    Thanks for your response i was able to solve it by get a help from a friend. He just reset it via SSH. Now it's working again. Thanks.
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.