vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   mySQL cannot connect? (https://vborg.vbsupport.ru/showthread.php?t=140197)

AFemaleProdigy 02-22-2007 11:52 PM

mySQL cannot connect?
 
My boards run fine and then randomly put out errors and won't load. Any help? I know it's saying "can't connect", but why would it only do this every once in a while and not all the time? Would this be a server problem or a code problem? Error reporting gives me the following 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/tf3131/public_html/forums/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Thursday, February 22nd 2007 @ 07:00:30 PM
Script : http://www.talkingfootball.net/forums/cron.php?rand=677659
Referrer : http://www.talkingfootball.net/forums/
Classname : vb_database

I just got this other error too....

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT title, template
FROM template
WHERE templateid IN (426,133,134,439,136,440,138,139,141,142,143,144,1 45,140,462,449,382,
240,206,207,377,380,389,226,227,228,229,340,394,39 3,395,398,430,433);

MySQL Error : Server shutdown in progress
Error Number : 1053
Date : Thursday, February 22nd 2007 @ 07:06:47 PM
Script : http://www.talkingfootball.net/forums/

da420 02-23-2007 01:30 AM

Quote:

Server shutdown in progress
You're server is shutting down. I would suggest contacting your host as to why it would be shutting down.

UltimateOreo! 02-23-2007 01:36 AM

Lol, some random guy just goes into server storage rooms and starts pressing the power buttons :D

AFemaleProdigy 02-23-2007 01:59 AM

Quote:

Originally Posted by UltimateOreo! (Post 1188770)
Lol, some random guy just goes into server storage rooms and starts pressing the power buttons :D

LMAO!!! My thoughts exactly. I just can't see how this is always the answer to this particular problem. I can almost gaurantee that my host is going to say "well... we see nothing wrong... server is fine... so there is nothing else we can do... blah blah blah... it's your software you installed... blah blah blah" and then I am going to be back on here tomorrow saying "WTF??" Haha!

No offense "da420". ;)

da420 02-23-2007 02:49 AM

No offense taken.

It's in plain writing what's going on.
If my host told me that I would tell them I am finding a new host and do so.

If that is the expected answer from your host, can you please tell me who they are? So, I can make sure to avoid them. I had a very similar problem with one of my hosts, I asked them what the problem was. That attitude that you say your host is giving is what I was experiencing. I pretty much told them to go 'F' themselves after about a few dozen attempts to resolve the issue. I did my research and switched hosts, no software changes. Haven't had that problem with this one. They either tell me straight up what's up, what to look for, and/or tell me how to fix it... or they fix it themselves.


All times are GMT. The time now is 11:58 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.01345 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete