PDA

View Full Version : Database Error v4.05


CFN-1
12-02-2011, 03:37 PM
Almost daily now, I'm receiving notices of database errors that look like this:

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' (11)
/home/hydropon/public_html/includes/class_core.php on line 313

MySQL Error :
Error Number :
Request Date : Friday, December 2nd 2011 @ 10:34:53 AM
Error Date : Friday, December 2nd 2011 @ 10:35:03 AM
Script : http://www.hydroponicunlimited.com/forum.php
Referrer : http://www.hydroponicunlimited.com/forum.php
IP Address : 218.204.14.59
Username :
Classname : vB_Database
MySQL Version :

What the heck is this trying to tell me? How do I repair whatever is causing this?

Please, H.E.L.P.

Zachery
12-02-2011, 04:16 PM
Your mysql server is going down, or is unreachabe. Contact your webhost for more info.

CFN-1
12-03-2011, 12:10 AM
Thank you, I've done so. I"ll post the results when they happen.

CFN-1
12-07-2011, 05:11 PM
Your mysql server is going down, or is unreachabe. Contact your webhost for more info.Well, my Host replied to me about the errors and blamed me for not updating my vBulletin from 4.05 to 4.1.8

I've downloaded the update and will install it today. Then we'll see if the mysql errors keep occuring.

Zachery
12-08-2011, 05:09 PM
It has nothing to do with you vBulletin version. Feel free to link them directly to this post and inform them that I am a member of the vBulletin support staff.

CatherinePooler
12-09-2011, 01:27 PM
Has your problem been fixed yet?
This has been happening to me as well over the past few days.

CFN-1
12-12-2011, 11:10 AM
Has your problem been fixed yet?
This has been happening to me as well over the past few days.No, not yet, My Host told me they are "Investigating it", but havn't discovered the cause yet.

Are you getting the same line error? "class_core.php on line 313"???

CatherinePooler
12-13-2011, 03:12 AM
Yes, I am!
It hasn't happened since Friday.

CFN-1
12-13-2011, 04:28 PM
Very interesting, Cathy. Thanks for letting me know this. I"ll pass it along to my Hosting service.

Tim

--------------- Added 1323882773 at 1323882773 ---------------

No, not yet, My Host told me they are "Investigating it", but havn't discovered the cause yet.

Are you getting the same line error? "class_core.php on line 313"???

Yes, I am!
It hasn't happened since Friday.


Catherine, what version of vBulletin are you running? I"m using 4.05

Just got an email from my Hosting service. He said "I think upgrading to the latest version will get rid of this bug".

He's a hard-headed one. I've linked him to this thread and told him what Zachery has said on that subject, but he's one of those "I won't have to do anything if I can blame it on someone else" types.

I'm surprised he didn't say "It's Bush's fault". Ha!

CFN-1
12-24-2011, 07:43 PM
Well, today, my hosting service transfered my site to another server. We'll see if the error messages stop now.

CFN-1
01-08-2012, 08:28 PM
Well, after the server change, the errors stopped. I'm not sure why. I can only imagine that the copy of mySQL on the original server was corrupt in some way.