Status
Not open for further replies.

nut legend

Active Member
123
2009
0
0
Hey,

Today I received around 5 messages from my forum about errors, here is one of them:

Code:
Database error in vBulletin :
 
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/joshpott/explosivegfx.com/forum/includes/class_core.php on line 311
 
MySQL Error  : 
Error Number  : 
Request Date  : Saturday, June 13th 2009 @ 04:17:13 AM
Error Date    : Saturday, June 13th 2009 @ 04:17:13 AM
Script        : [URL="http://explosivegfx.com/forum/profile.php?do=editavatar"][COLOR=#0000ff]http://explosivegfx.com/forum/profile.php?do=editavatar[/COLOR][/URL]
Referrer      : [URL="http://explosivegfx.com/forum/usercp.php"][COLOR=#810081]http://explosivegfx.com/forum/usercp.php[/COLOR][/URL]
IP Address    : xxxx.xxx.x.xxx
Username      : 
Classname    : vB_Database
MySQL Version :

The 'script' has many different variations, what should I do to sort this out?

Regards,

Josh
 
8 comments
I think,
The problem might have occured due to the script cannot connect to 'localhost'
So I think at that time, your host might be down (MySQL Host)
So it caused this problem.

Maybe, there is some other problem.. which I dont know :(
 
Did you edit your config file correctly?

example: $config['MasterServer']['servername'] = 'localhost';

Yes I did, well at least I am sure I did - will double check.


I think,
The problem might have occured due to the script cannot connect to 'localhost'
So I think at that time, your host might be down (MySQL Host)
So it caused this problem.

Maybe, there is some other problem.. which I dont know :(

Thanks a lot - will sort this out with my host,

Regards,

Josh
 
I'd have to agree with Plutost it seems as if your localhost was temp down, because if you installed vb correctly, then there shouldn't be a random problem due to MYSQL. Also, shouldn't this be in the vBulletin forum support forum?
 
Status
Not open for further replies.
Back
Top