Frequent error

Discussion in 'Apache' started by legend19892008, May 7, 2009.

  1. #1
    Respectful greetings...

    Recently, I've been facing an error on my website
    & I am in a great need of your support to fix that error

    Explaning the error: My website becomes unavailable for about 15 to 20 mins
    then at the end of the 15 mins this message appears

    Code:
    General Error
    SQL ERROR [ mysqli ]
    
    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]
    
    An sql error occurred while fetching this page. Please contact an administrator if this problem persists. 
    Code (markup):
    a screenshot of the above error is attached http://img22.imageshack.us/img22/3406/error2lcw.jpg
     
    legend19892008, May 7, 2009 IP
  2. Progg

    Progg Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you're using hosting, this happens when mysql isn't running (or there are other problems with MySQL). It's not an error with any software you're running, but with MySQL. Who is your host?
     
    Progg, May 7, 2009 IP
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    It seems that MySQL is going down frequently on your server. If you are on a shared hosting only your host can fix this problem.

    Kailash
     
    kailash, May 9, 2009 IP