Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 06-16-2008, 06:51 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default database error many messages,needed help. (realy need help)

hello,

i get many error from my database :
its the sample :

Quote:
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/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Monday, June 16th 2008 @ 03:17:01 AM
Error Date : Monday, June 16th 2008 @ 03:17:02 AM
Script : http://www.anakayam.us/forum/showthread.php?t=12887
Referrer : http://www.anakayam.us/forum/forumdi...er=desc&page=3
IP Address : 125.162.207.54
Username :
Classname : vB_Database
MySQL Version :
=================================
Database error in vBulletin 3.7.0:

Invalid SQL:

SELECT `userid`, `username`, `vbbank`, `vbbux`,
(`vbbank` + `vbbux`) AS totalpoints
FROM user
WHERE ((usergroupid != '5') AND (usergroupid != '7')) AND ((`vbbank` + `vbbux`) > 0)
ORDER BY totalpoints DESC
LIMIT 10;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Monday, June 16th 2008 @ 03:16:50 AM
Error Date : Monday, June 16th 2008 @ 03:16:55 AM
Script : http://www.anakayam.us/forum/vbplaza.php
Referrer :
IP Address : 125.161.179.206
Username : jakarta
Classname : vB_Database
MySQL Version :
========================
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/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Monday, June 16th 2008 @ 03:17:03 AM
Error Date : Monday, June 16th 2008 @ 03:17:03 AM
Script : http://anakayam.us/forum/login.php?do=lostpw
Referrer : http://anakayam.us/forum/register.php?do=addmember
IP Address : 66.249.90.136
Username :
Classname : vB_Database
MySQL Version :
==============================
Reply With Quote
  #2  
Old 06-16-2008, 07:21 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error means that the MySQL daemon was down while a connection was trying to be established.
Reply With Quote
  #3  
Old 06-16-2008, 09:36 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats because my host or my vbulletin?
Reply With Quote
  #4  
Old 06-16-2008, 12:32 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your server.
Reply With Quote
  #5  
Old 06-18-2008, 09:07 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error message again :

Database error in vBulletin 3.7.0:

Invalid SQL:

UPDATE session
SET lastactivity = 1213782551, location = '/forum/forumdisplay.php?f=120', inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '67396536c9a4cb42a379df8ac799ec7b';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, June 18th 2008 @ 05:49:11 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:14 AM
Script : http://www.anakayam.us/forum/forumdisplay.php?f=120
Referrer : http://www.anakayam.us/forum/forumdisplay.php?f=2
IP Address : 125.163.91.150
Username : asbun
Classname : vB_Database
MySQL Version :
==========
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/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, June 18th 2008 @ 05:49:17 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:17 AM
Script : http://anakayam.us/forum/archive/index.php/f-91.html
Referrer : http://www.foolfind.com/search/cerit...esama-pria-gay
IP Address : 125.163.7.202
Username :
Classname : vB_Database
MySQL Version :
=============
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/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, June 18th 2008 @ 05:49:18 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:18 AM
Script : http://www.anakayam.us/forum/register.php?do=register
Referrer : http://www.anakayam.us/forum/register.php?do=checkdate
IP Address : 125.164.205.207
Username :
Classname : vB_Database
MySQL Version :
==========
Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT COUNT(*) AS total FROM post_thanks WHERE userid = 21753 AND date > 1213696153;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, June 18th 2008 @ 05:49:13 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:14 AM
Script : http://www.anakayam.us/forum/showthread.php?t=5350
Referrer : http://www.anakayam.us/forum/forumdi...=desc&page=125
IP Address : 125.162.57.251
Username : randang_darek
Classname : vB_Database
MySQL Version :
=========
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/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, June 18th 2008 @ 05:49:16 AM
Error Date : Wednesday, June 18th 2008 @ 05:49:16 AM
Script : http://anakayam.us/forum/showthread.php?t=1686&page=2
Referrer : http://anakayam.us/forum/showthread.php?t=1686
IP Address : 210.245.52.35
Username :
Classname : vB_Database
MySQL Version :
=========

and my host support say : its because my vbulletin script.not my host.
what should i do to fixed this?

--------------- Added [DATE]1213783750[/DATE] at [TIME]1213783750[/TIME] ---------------

my support say like this :

Quote:
Hello,

It appears we were disconnected from our phone call.

Everything is running on your server. The error messages are normal and
indications that the server is continuing to run even though it is being taxed
severely by the software.

Thank you, I am still monitoring it.
but problem never solved.
Reply With Quote
  #6  
Old 06-18-2008, 09:33 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It means your server cannot handle the load you are putting on it.
Reply With Quote
  #7  
Old 06-18-2008, 09:46 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When this happens, check the uptime of the mysql server.
Reply With Quote
  #8  
Old 06-19-2008, 12:05 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im realy tired about this for 3months.my issue never fixed
my host support say :

Quote:
Hello again,


Thank you for verifying.


Your my.cnf file, which controls a lot of optimization settings for MySQL,
seems to match all but one of our recommended settings, for your type of
hardware. Originally, one of our monitoring techs lowered your max_connections
from 1500 to 500, but I've just noticed that wait_timeout is 28800 rather than
the suggested 30. You're welcome to have any settings you'd like, but this
difference will keep a lot of MySQL connections open if VB isn't coded to
close connections once it's finished with it's query.


I found that some of your forum tables are damaged which can cause extra
resources needed by MySQL to process the request. I'd like to stop MySQL, back
up the DB, and run a repair. The process shouldn't take more than 20 minutes.
When would be a good time to do this?


Aside from these minor corrections, I'm seeing no reasons why the server would
be responsible for the high load you're experiencing. In the midst of typing
this response, several php procs for user 'zhazha' were spawned from
/home/zhazha/public_html/forum/showtread.php and forumdisplay.php. After
killing the procs, your load went from 23 down to 4.15.


A majority of your HTTP connections are from Indonesian IPs, but none of them
have an odd number of connections. This leads me to believe your current
hardware and/or VBulletin isn't capable of handling your load demands. Because
I don't believe the above mentioned fixes won't make a large difference, you
may want to consider adding more memory, at the very least. Thanks!
Quote:
Hello again,


I'm afraid that's something I can't promise. The problem is that your server
isn't handling the load very well, the load is either from the number of
connections, VB not handling so many requests at once, or a combination of the
two. It's possible you may need a better hardware upgrade if you want to
continue to handle this amount of traffic, or adding another GB or two may be
all you need. I'd recommend addressing my earlier suggestions before making
any hardware-related changes, however.

Thanks!
i take dedicated server for this.
so until now my issue never fixed.what should i do for this friend?
i really need ur help for this.
well thank you very much,i hope my problem solved in here.
Reply With Quote
  #9  
Old 06-19-2008, 07:19 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin can handle many, many users at once. It is most likely that your server is being hammered with requests. Run the command top in SSH and see which process is the first.
Reply With Quote
  #10  
Old 06-20-2008, 07:40 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

until now i get database error in my site :

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/zhazha/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Friday, June 20th 2008 @ 04:22:52 AM
Error Date : Friday, June 20th 2008 @ 04:23:01 AM
Script : http://www.anakayam.us/forum/showthread.php?t=3504
Referrer : http://www.anakayam.us/forum/forumdisplay.php?f=19
IP Address : 125.162.244.38
Username :
Classname : vB_Database
MySQL Version :

i dont know about my hosting never solved my issue.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 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.05368 seconds
  • Memory Usage 2,264KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete