View Single Post
  #1  
Old 09-16-2011, 03:14 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 68,977
AlexC is an unknown quantity at this point
Default Random Can't Connect Error?

I finally upgraded my site to the newer version, but now I'm getting this weird error every once in a while. It's appear about three times - if I refresh once or twice, it goes away. It's not too annoying really, but I'd hate for members to find it.

It is just a blank page with the following message:

Quote:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/gloometh/public_html/inc/functions.php on line 151
Error connecting to MySQL
Not sure what's wrong? I can wait for the next release if someone doesn't know how to fix it right away - my site isn't due to be released in ages, I just wanted people to know.
Reply With Quote