PDA

View Full Version : vBulletin Database Error ...please help


saadessa
03-25-2009, 05:51 PM
any one have solution for this error



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/saad6/public_html/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, March 25th 2009 @ 02:30:22 PM
Error Date : Wednesday, March 25th 2009 @ 02:30:22 PM
Script : http://www.saad6.com/external.php?type=rss2&forumids=22
Referrer :
IP Address : 174.132.89.130
Username :
Classname : vB_Database
MySQL Version


thank you

RLShare
03-25-2009, 05:56 PM
That means it couldn't connect to your Mysql database which means 1 of 3 things
1. Your mysql server went down.
2. Your mysql server reached it limits of resources at that instance and refused the connection
3. You have your details wrong in the config.php file.

Since it is working now, I would guess it is option 2

saadessa
03-26-2009, 06:28 PM
That means it couldn't connect to your Mysql database which means 1 of 3 things
1. Your mysql server went down.
2. Your mysql server reached it limits of resources at that instance and refused the connection
3. You have your details wrong in the config.php file.

Since it is working now, I would guess it is option 2




thank you RLShare for your help ....i will Try to repair

ilrglen
08-05-2009, 12:25 AM
That means it couldn't connect to your Mysql database which means 1 of 3 things
1. Your mysql server went down.
2. Your mysql server reached it limits of resources at that instance and refused the connection
3. You have your details wrong in the config.php file.

Since it is working now, I would guess it is option 2

My problem looks kinda similar. Can you help me out? Everything just stopped working and I can't even get into my admincp...

Database error in vBulletin :

mysqli_real_connect() [<a href='function.mysqli-real-connect'>function.mysqli-real-connect</a>]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
/var/www/html/Forums/includes/class_core.php on line 1138

Any ideas to help me out? Thanks.

Lynne
08-05-2009, 01:24 AM
See this page for the causes of this error: http://www.vbulletin.com/docs/html/cantconnect (it lists the same three things listed before)

ilrglen
08-05-2009, 04:09 AM
See this page for the causes of this error: http://www.vbulletin.com/docs/html/cantconnect (it lists the same three things listed before)

Thanks. That is helpful. I thought it might be an ISP server problem and hope they can sort it out soon. Am I going to lose everything when it comes back online or does the software save as it goes?

Lynne
08-05-2009, 03:53 PM
Your database should be fine unless something else also happened. You do make backups though, right? (If not, take a look in this forum at all the sob stories from admins who didn't make backups and lost everything.)