Free Web Hosting Forum
(#1 (permalink))
Old
onegenius's Avatar
Member
onegenius is on a distinguished road
 
Posts: 31
Join Date: Apr 2008
Send a message via AIM to onegenius
Question sql error - too many connections - 07-16-2008, 01:29 AM

A got a error: mysql_connect(): Too many connections ... on line 489 ...

How many connections can a site have at time on your server? Or is it my programming error?
Reply With Quote
(#2 (permalink))
Old
onegenius's Avatar
Member
onegenius is on a distinguished road
 
Posts: 31
Join Date: Apr 2008
Send a message via AIM to onegenius
Default the full error - 07-16-2008, 03:03 AM

here is the error below.

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/a3320398/public_html/index.php on line 498

and my site: http://www.affiliatelist.net63.net/index.php

can a admin please help?
Reply With Quote
(#3 (permalink))
Old
Administrator
admin has disabled reputation
 
Posts: 373
Join Date: Apr 2008
Default 07-16-2008, 02:28 PM

You cannot have more that 10 MySQL connections at the same time. If script was make by you, you can try to enter mysql_close(); at the end of the script. This will lower active MySQL connections for your user.


Aurimas,
Head Admin & CEO
www.000webhost.com
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com