vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database error in vBulletin (https://vborg.vbsupport.ru/showthread.php?t=195140)

UKBusinessLive 11-01-2008 12:58 PM

Database error in vBulletin
 
Hi Guys,

just got back from work and found 63 database errors in my emails, when i tried to log into my admincp it came up database error, the only way i could get the forums back way by uploading a backup.

All seems well, I also deleted my laste member and banned his IP as it was from China and i think they must of had something to do with it.

What does it mean "Too many connections"


Quote:

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
/home/ukbusin1/public_html/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Saturday, November 1st 2008 @ 11:44:28 AM
Error Date : Saturday, November 1st 2008 @ 11:44:28 AM
Script : http://www.ukbusinesslive.co.uk/forum/
Referrer :
IP Address : *.*.*.12 (Edited my IP)
Username :
Classname : vB_Database
MySQL Version
Thanks in advance :o

Dismounted 11-01-2008 01:25 PM

<a href="http://www.vbulletin.com/docs/html/troubleshoot_mysql_errors" target="_blank">Common MySQL Error Messages</a>

UKBusinessLive 11-01-2008 01:29 PM

Quote:

Originally Posted by Dismounted (Post 1657114)

Thanks buddy, learnt a bit about MySQL and put my mind at rest at the same time.

So for anyone that has had the above message in an email then heres the answer

mysql_connect(): Too many connections

The server has maxed out the number of MySQL connections it allows. You can try turning persistent connections off by adding this to your config.php:

PHP Code:

$config['MasterServer']['usepconnect'] = 0

Your config.php file is in your Includes Directory, Put the above at the end, its working fine for me :D

Thanks again :D


All times are GMT. The time now is 12:48 AM.

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.02828 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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