1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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

Discussion in 'MySQL' started by nkiegrea, Jul 20, 2007.

  1. #1
    Hello All.. I have search Google "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)"

    And I can't find any help on (11).

    I believe the numbers at the end stand for different errors, because when I search for it, it there are different people who needed help with different numbers, but not 11! :-\

    I get this error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) around lunch peak times.

    Anyone experience this problem or know what to do to fix it? Any help would be grateful + plus some rep! :D

    Regards,
    Zack B
     
    nkiegrea, Jul 20, 2007 IP
  2. nkiegrea

    nkiegrea Peon

    Messages:
    355
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can anyone help? :)
     
    nkiegrea, Jul 21, 2007 IP
  3. tulip4heaven

    tulip4heaven Well-Known Member

    Messages:
    2,774
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #3
    If you are getting this error n your sites , Than problem with your hosting server , ask your hosting server to solve this , 2 weeks ago , i was getting same error on my big sites , after sending emails to support , problem is resolved now

    Thanks
    Tulip
     
    tulip4heaven, Jul 21, 2007 IP
  4. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you on shared hosting or dedicated.?
    Most likely the root pass needs to be recreated
     
    cyanide, Jul 23, 2007 IP
  5. ryduh

    ryduh Peon

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    What OS are you running?
     
    ryduh, Jul 24, 2007 IP
  6. ReliableServers

    ReliableServers Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Does '/var/lib/mysql/mysql.sock' even exist?
     
    ReliableServers, Jul 24, 2007 IP
  7. Neptune

    Neptune Well-Known Member

    Messages:
    1,465
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    108
    #7
    That error is more then likely a misconfiguration of MYSQL to handle your peak times. It seems to me as though your SQL server is disconnecting you when it gets too busy. You need to increase your max requests. That should stop the problem.
     
    Neptune, Jul 24, 2007 IP