PDA

View Full Version : Getting "vBulletin Database Error!" ... Help please! :(


Lyte
11-13-2005, 10:47 PM
Howdy,

I recently had a template/skin placed on my site (www.pc101.com) and in the process we started getting these kinds of error messages...

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/pc101/public_html/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 03:08:06 PM
Script : http://pc101.com/forumdisplay.php?f=44
Referrer : http://pc101.com/forumdisplay.php?f=44
IP Address : xx.xxx.xxx.xxx
Username :
Classname : vb_database

and....

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/pc101/public_html/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 03:04:34 PM
Script : http://pc101.com/admincp/template.php?do=modify
Referrer : http://pc101.com/admincp/template.php?do=modify
IP Address : xx.xxx.xxx.xxx
Username :
Classname : vb_database

What does this mean?? Please advise as I'm totally clueless.

Also... I'm a little confused by http://www.pc101.com/index.php v.s. http://www.pc101.com/ ... which has a PR5. Does it matter which one I use for marketing or directing search engines???


Many thanks in advance!

Lyte

pyro.699
11-14-2005, 12:57 AM
ewwwwwwwwww, nasty error!

anyways, what were you tring to do? building a mod, and what did u eidt?

if ntohing, the i got no clue ^^

Rickie3
11-14-2005, 01:05 AM
it seems you error is in forumdisplay.php and template.php,class_core.php did you edit any of those?

Lyte
11-14-2005, 02:03 AM
it seems you error is in forumdisplay.php and template.php,class_core.php did you edit any of those?

I'm not sure... I'm not the one designing/installing the template. What are those things???

Thanks!

Lyte

Andreas
11-14-2005, 02:06 AM
(Re)start you mySQL-Server. If this doesn't help, check your mySQL config.

Lyte
11-14-2005, 03:26 AM
(Re)start you mySQL-Server. If this doesn't help, check your mySQL config.

Okay, call me dense but... what's my "SQL-Server?" And... my "SQLconfig?"

Thanks!

Lyte

Marco van Herwaarden
11-14-2005, 04:35 AM
Ask your host to restart MySQL.

Lyte
11-14-2005, 12:05 PM
Ask your host to restart MySQL.

Thanks. I did, I hope this helps! :)

I'm still curious though... what's my "SQL-Server?" And... my "SQLconfig?"

Thanks again!

Lyte

Marco van Herwaarden
11-14-2005, 12:50 PM
MySQL <- the database software you are using to store your information.

ztempuser
11-15-2005, 05:15 AM
i get the same exact error with my database it says somthing about the class_core.php i never edited it either, and i reuploaded that file to make sure its all correct still the same errror

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/usr/www/htdocs/el-halawa/forum/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 06:07:26 PM
Script : http://www.el-halawa.net/forum/admincp/usergroup.php?do=modify
Referrer : http://www.el-halawa.net/forum/admincp/index.php?do=nav
IP Address : 68.226.4.172
Username :
Classname : vb_database

nailerpa
12-10-2005, 08:30 PM
Same error here...hundreds of them. I didn't edit class_core.php, either. I just upgraded to v3.52 and it's still happening. My site is still working fine. It's just an annoyance getting all of those error e-mails.

i get the same exact error with my database it says somthing about the class_core.php i never edited it either, and i reuploaded that file to make sure its all correct still the same errror

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/usr/www/htdocs/el-halawa/forum/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 06:07:26 PM
Script : http://www.el-halawa.net/forum/admincp/usergroup.php?do=modify
Referrer : http://www.el-halawa.net/forum/admincp/index.php?do=nav
IP Address : 68.226.4.172
Username :
Classname : vb_database

Well, it appears that what was causing my errors were some corrupt e-mail messages. I have my web host e-mail being forwarded via POP3 to my Outlook. So, I don't check my web host e-mail that often. So, I figured I'd check it out on the whim that there might be a corrupt message that just keeps spewing out copies of itself. I deleted all error e-mails like this and, sure enough, I haven't gotten any more error messages. This was a couple of hours ago. Previously, I was getting error messages every few minutes. What also tipped me off that there might be corrupt messages is that they would show up in my Outlook with the same date and time. I hope this helps anyone else out that's having this problem.