vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vBulletin 4.2.3 Database ERRORS driving me crazy (https://vborg.vbsupport.ru/showthread.php?t=323970)

diysmps 12-03-2016 06:38 PM

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

Dave 12-03-2016 06:48 PM

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.

RichieBoy67 12-03-2016 10:17 PM

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.:D

Paul M 12-04-2016 12:41 AM

Quote:

Originally Posted by diysmps (Post 2579105)
And its NOT, its the VB itself.

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

Paul M 12-04-2016 12:44 AM

Quote:

Originally Posted by RichieBoy67 (Post 2579111)
If you do not want the emails just remove your email from the config.php file. :)

Thats not really very good advice, its just ignoring the errors, and hiding any future errors.

RichieBoy67 12-04-2016 12:47 AM

Quote:

Originally Posted by Paul M (Post 2579113)
Thats not really very good advice, its just ignoring the errors, and hiding any future errors.

It's not an ultimate fix but rather a temporary fix until issues are taken care of.

Brandon Sheley 12-04-2016 11:15 AM

Quote:

Originally Posted by Paul M (Post 2579113)
Thats not really very good advice, its just ignoring the errors, and hiding any future errors.

I agree, should fix the issue, don't just hide the errors ;)
https://www.vbulletin.com/forum/foru...66#post4000466

RichieBoy67 12-04-2016 11:39 AM

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. :)

Paul M 12-04-2016 04:27 PM

Quote:

Originally Posted by Brandon Sheley (Post 2579130)
I agree, should fix the issue, don't just hide the errors ;)
https://www.vbulletin.com/forum/foru...66#post4000466

Are you trying to be funny, or just being a jerk ? its hard for me to tell from that.

Brandon Sheley 12-04-2016 06:08 PM

Quote:

Originally Posted by Paul M (Post 2579141)
Are you trying to be funny, or just being a jerk ? its hard for me to tell from that.

I was trying to be funny in a smart a$$ way :p

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 :)


All times are GMT. The time now is 07:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete