SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jan 2008
    Location
    Palm Harbor, FL
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation MySQL not working - Need help ASAP!

    My site has suddenly gone completely down due to a MySQL error!
    Please help...


    My php scripts give this error:
    Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/morthian/public_html/_scripts/connect.php on line 9

    Fatal error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/morthian/public_html/_scripts/connect.php on line 9


    phpMyAdmin shows this:
    #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

  2. #2
    SitePoint Addict
    Join Date
    Jan 2008
    Location
    Palm Harbor, FL
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, nevermind this. The problem seemed to have fixed itself. Something must have malfunctioned on my host's server. (It lasted for quite a long time though.)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •