HomeNotesCan't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
1450 days ago in 
Reactions: 6 comments 2 points0 reports
 
 

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

Following database error: Help!!

Database error in Asia Connect - A friendship portal Mysql error:

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

 

Debug backtrace:

Array

(

    [1] => Array

        (

            [file] => /home/xxxxxx/public_html/periodic/cupid.php

            [line] => 22

            [args] => Array

                (

                    [0] => /home/xxxxxxx/public_html/inc/db.inc.php

                )

 

            [function] => require_once

        )

 

)

 

 

Called script:

 

Request parameters:

Array

(

)

 

 

--

Auto-report system

Plussed by

 
 
 
 

Comments

Oldest First
|
Threaded
 
 
Please login to post a comment.
DosDawg
you changed this path during install as a necessity? i am just asking as i didnt and havent changed that setting on any of the installs i have done. did the site make a connection with the dbase during your install?

later,
DosDawg
tango3d
could be a temporary problem with your host
Stuart038
Hello DosDawg, I didn't change the path during install, the site has been running well since 6.1 first came out (re database anyway). I haven't had the problem since I posted. I think tango3d may be right.

Thanks guy's
praveenkv1988
This can happen when there are many queries to your database server.
pexie
Did you ever find out what was up with the database error?

I'm having the same problem and I'm definitely not getting too many queries. I've had this problem for several weeks now, so I know it's not a temporary hosting issue.

One of my beta testers told me that she finally took a look at my site and was not able to look at the profile I set up as a test.

Ooh! Frustrating. I'm trying to get ready to launch next week but I won't be able to if I can't get this glitch fixed.
reason8
I get this error when my linux server boots "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock" but it has never affected my sql databases.

Are you hosting your own webserver or are you going through a hosting company?
 
 
 
PET:0.056276082992554