Closed Thread
Results 1 to 3 of 3

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

  1. #1
    krerbellor68 is offline x10Hosting Member krerbellor68 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    5

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

    Hello,

    I have an SMF forum. Everything was working fine until approximately 8am on 8/3/11.

    Since then I have been getting intermittent proper page loading with many of the following pageload errors:
    "Connection Problems

    Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later."


    I checked all the SMF CSS coding and settings all appear correct on the SMF end of things.

    I ran http://lucsoc.x10.mx/test.php and found the following:

    "
    Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/gig4wtx/public_html/test.php on line 5
    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) "

    Do you know what steps I should take next?

    Thanks,

    John Yost
    217-801-1905

    ---------- Post added at 11:08 PM ---------- Previous post was at 11:00 PM ----------

    If I click refresh on test.php I also get this code:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'gig4wtx_1'@'int.web6.vital.x10hosting.com' (using password: NO) in /home/gig4wtx/public_html/test.php on line 5
    Access denied for user 'gig4wtx_1'@'int.web6.vital.x10hosting.com' (using password: NO)

  2. #2
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

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

    I have fixed your test script, you were using db_pass instead of db_passwd
    Corey Arbogast | CEO
    █ 888-X10-9668 - corey[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  3. #3
    krerbellor68 is offline x10Hosting Member krerbellor68 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    5

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

    Hello,

    Thanks SO MUCH! Your changes resolved the issue.

    I am very grateful for your prompt response!!!

    Best wishes,

    John


    Quote Originally Posted by Corey View Post
    I have fixed your test script, you were using db_pass instead of db_passwd

Closed Thread

Similar Threads

  1. Replies: 1
    Last Post: 10-15-2010, 01:46 PM
  2. Replies: 2
    Last Post: 10-14-2010, 10:49 AM
  3. Replies: 1
    Last Post: 07-15-2010, 06:39 AM
  4. Replies: 2
    Last Post: 12-17-2007, 03:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers