The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin 4.2.3 Database ERRORS driving me crazy
We are suffering from this issue since we had the VB installed years ago, it used to happen from time to time, without finidng the answer why its happening.
We are unable to find a proper solution to this issue at the VB forums, but hopefully tihis time we will. Problem is we are getting thousands of emails notifying us with the database errors. Database error in vBulletin : mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /var/www/vhosts/diysmps.com/forums/includes/class_core.php on line 317 MySQL Error : Error Number : Request Date : Thursday, December 1st 2016 @ 01:57:40 AM Error Date : Thursday, December 1st 2016 @ 02:05:54 AM Script : http://www.diysmps.com/forums/entry....S&goto=newpost Referrer : IP Address : 46.229.168.72 Username : Classname : vB_Database MySQL Version : Can any one help us to get rid of this painful problem? COMPLETELY? In the past we had to change our host from GODADDY to Rackspace, we thought its the HOST. And its NOT, its the VB itself. Please help |
#2
|
|||
|
|||
If you have the MySQL settings in the vBulletin config file correctly configured then it's not a problem with vBulletin, it's a problem with your MySQL server.
Either something happens that causes the MySQL server to crash or the MySQL's ini settings are not right. Refer to: http://stackoverflow.com/questions/5...-mysql-sock-38 http://alvinalexander.com/mysql/mysq...-server-socket < definitely look at this. |
2 благодарности(ей) от: | ||
Brandon Sheley, Lynne |
#3
|
||||
|
||||
It is not Vbulletin. Vbulletin runs on almost any server.
Is that the only error you get and did it just start happening? If you do not want the emails just remove your email from the config.php file. ##I'm not saying to remove your email address and not fix these issues. I am just saying that if you're inbox is getting flooded than you can remove your address from config just until you fix the issues. I'm fairly certain everyone knew this is what I meant but apparently I need to clarify. |
Благодарность от: | ||
blind-eddie |
#4
|
||||
|
||||
No, its not.
Thats actually PHP unable to connect to the MySQL server, and has nothing to do with vBulletin at all. It even tells you that in the error message : mysql_connect(): Can't connect to local MySQL server |
#5
|
||||
|
||||
Thats not really very good advice, its just ignoring the errors, and hiding any future errors.
|
#6
|
||||
|
||||
It's not an ultimate fix but rather a temporary fix until issues are taken care of.
|
#7
|
||||
|
||||
Quote:
https://www.vbulletin.com/forum/foru...66#post4000466 |
#8
|
||||
|
||||
Ok, post amended.
Seems pretty obvious that I did not mean to hide the errors and not fix the issues but I added some clarification. |
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
Quote:
That's the code that I thought of when I first read the reply. I wasn't searching for a post by you, but it's what pulled up first. I would have rather had the source post from Mark to be honest..lol Anyways, it was meant to be in good humor |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|