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.

The MySQL server is currently offline error

Discussion in 'Database Discussions' started by halex, Mar 25, 2013.

  1. halex

    halex Registered

    Joined:
    Mar 25, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    [SOLVED]

    :( Rookie mistake. Client has 2 servers with websites replicated on both of them ( sort of a mixed HA pair ) . The site with the error was on the other server, so I've been troubleshooting this on the wrong server.

    The right server had mysql down.
     
    #1 halex, Mar 25, 2013
    Last edited: Mar 25, 2013
  2. vitdance

    vitdance Registered

    Joined:
    Mar 26, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I also encountered the same situation.
     
    #2 vitdance, Mar 29, 2013
    Last edited by a moderator: Mar 29, 2013
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please do not link to your site, which appears to be working. If you are having the issue, please provide more details on whether you are just seeing this in cPanel > MySQL Databases area or where.

    Of note, most times, the MySQL error log at /var/lib/mysql/hostname.err (where hostname is the server's fully qualified hostname) has the error message on restarts. So, simply restart MySQL, then tail the error log to see what it shows. Frequently, it will be a typo in /etc/my.cnf file or a setting there that is invalid causing the issue with MySQL.
     
Loading...

Share This Page