Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2007, 05:32 AM
tminus's Avatar
tminus tminus is offline
 
Join Date: Apr 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [Help] MySQL Error

I am getting a number of mysql error messages related to /includes/class_core.php on line 274. One is "Too many connections" and the other is "Can't connect to MySQL server on 'remotemysqlhost' (4)" Can anyone help me with this? Although my test users are getting errors, nothing seems to be messing up permanently. Could this just be a common error with hosted databases? Any help would be appreciated. Thank you.
Reply With Quote
  #2  
Old 08-30-2007, 05:42 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Common error on shared hosting packages. If it continues, contact your host. If it gets worse, find a new host
Reply With Quote
  #3  
Old 08-30-2007, 07:47 AM
tminus's Avatar
tminus tminus is offline
 
Join Date: Apr 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG View Post
Common error on shared hosting packages. If it continues, contact your host. If it gets worse, find a new host
Thanks, I had a feeling it would be like that. <sigh> I will post any results I get from support to help anyone else who may have the same error.

My other problem with my host is that the php.ini is above my permission level, so vB can only handle up to 10MB uploads! I found out the default is 2MB, so I had it bumped to 10MB, but the barely matters for video uploading. There has to be a work around for that but I haven't found one yet. I had to deal with this testing Links & Download Manger for vB, but I just decided to go with Any Media and limit local videos to ftp (also the tech's suggestion after the bump!)
Reply With Quote
  #4  
Old 09-20-2007, 07:41 PM
KenDude KenDude is offline
 
Join Date: Jul 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually I just started getting this error today, and would receive about 20 emails at exactly 14 minutes past the hour each hour for the last 8 hours or so. I just closed my site, ran a database repair and re-opened the site to see if that fixes it. It doesn't have anything to do wiht my site, and I didn't change any config on my site, this just started happening.
Reply With Quote
  #5  
Old 09-21-2007, 05:32 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is caused by the MySQL process locking up because of too many connections. I suggest you talk with your host.
Reply With Quote
  #6  
Old 09-23-2007, 01:14 AM
setubal setubal is offline
 
Join Date: Oct 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...And what about these errors please ?

Quote:
Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid,
languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent,
bypass, profileupdate)
VALUES
('f96df3473fc09a67b3c372e25558bd6a', 1379, '86.218.130.217',
'e111986dac8e7b3ff744fe8a3193a287', 1189501531,
'/www/showthread.php?p=22609, 0, 2, 1, 0,
0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322)', 0, 0);

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Tuesday, September 11th 2007 @ 09:06:49 AM
Script :
*********************************

Quote:
Invalid SQL:

SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2,
1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar,
customavatar.dateline AS avatardateline,customavatar.width AS
avwidth,customavatar.height AS avheight,

editlog.userid AS edit_userid, editlog.username AS edit_username,
editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason,
postparsed.pagetext_html, postparsed.hasimages,
sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS
sigpicwidth, sigpic.height AS sigpicheight,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
infractiongroupid


FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN
customavatar AS customavatar ON(customavatar.userid = user.userid)

LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND
postparsed.styleid = 22 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND
sigparsed.styleid = 22 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (0,19593,19597,19605,22607,22608,22609)
ORDER BY post.dateline;

MySQL Error : Lost connection to MySQL server during query
Error Number : 2013
Date : Wednesday, September 12th 2007 @ 12:19:15 PM
Script :
******************

Quote:
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost
connection to MySQL server during query
/www/class_core.php
on line 271

MySQL Error :
Error Number :
Date : Wednesday, September 12th 2007 @ 12:19:26 PM
Script :
Thank's you.

Server error or vbulletin mysql tables ? ...
Reply With Quote
  #7  
Old 09-23-2007, 06:15 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a MySQL problem, so talk with your host.
Reply With Quote
  #8  
Old 09-23-2007, 10:04 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mysql connection times out before that query can be executed. First try as suggested to have this solved by your host by increasing the mysql timeout.

If that does not work, try adding the following line to your config.php:
PHP Code:
define('NOSHUTDOWNFUNC'true); 
Reply With Quote
  #9  
Old 09-23-2007, 10:29 AM
setubal setubal is offline
 
Join Date: Oct 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice support,

Thanks you so much.

Viva Vbulletin !
Reply With Quote
Reply


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 07:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04926 seconds
  • Memory Usage 2,244KB
  • 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
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete