+ Post New Thread
Results 1 to 2 of 2

Thread: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

  1. #1
    Administrator
    Join Date
    Mar 2013
    Posts
    2,725

    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

    Please what means this error and what is its solution to prevent it?




    General Error
    SQL ERROR [ mysql4 ]


    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.

  2. #2
    Senior Member webc's Avatar
    Join Date
    Feb 2014
    Posts
    415


    Is this useful / helpfull? Yes | No
    What kind of webhosting are you using? Some times for shared webhosting the connection is lost

+ Post New Thread

Similar Threads

  1. My MySQL server optimization progress, history
    By Fli in forum MySQL, Apache, PHP
    Replies: 7
    Last Post: 06-27-2018, 12:46 PM
  2. Replies: 0
    Last Post: 08-31-2017, 01:55 PM
  3. Replies: 2
    Last Post: 12-14-2014, 06:18 AM
  4. Replies: 0
    Last Post: 11-02-2014, 03:44 PM
  5. Replies: 0
    Last Post: 08-15-2013, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam