User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 392,082 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,973 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 3395 | Replies: 2
Reply
Join Date: Mar 2007
Location: India
Posts: 28
Reputation: bhuvan83 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bhuvan83's Avatar
bhuvan83 bhuvan83 is offline Offline
Light Poster

Help Too many connections error

  #1  
Mar 30th, 2007
hi every1
i m using mysql as my back end and it runs on whole on intranet in my office.
the error i m getting is
Error: 1040 SQLSTATE: 08004 (ER_CON_COUNT_ERROR)
mESSAGE Too many connections
when users r trying to access the webpage.
how can i remove the error.
plz help me out.
thanks in advance
Bhuvan Aggarwal
There is no word impossible.
its i m possible
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2006
Location: Canada
Posts: 55
Reputation: GliderPilot is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
GliderPilot's Avatar
GliderPilot GliderPilot is offline Offline
Junior Poster in Training

Re: Too many connections error

  #2  
Apr 3rd, 2007
In your code are you closing your database connections? If not, it could caus your database to have many open connections that are not being used.

Might not be the problem but this may hopefully help.
Reply With Quote  
Join Date: Nov 2006
Posts: 7
Reputation: sliver_752 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sliver_752's Avatar
sliver_752 sliver_752 is offline Offline
Newbie Poster

Troubleshooting Re: Too many connections error

  #3  
Apr 7th, 2007
Try to store the connection string in a session and do all your queries with that stored session string.

When you close that session, connection string will be automatically destroyed.
Last edited by sliver_752 : Apr 7th, 2007 at 9:22 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb MySQL Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the MySQL Forum

All times are GMT -4. The time now is 12:21 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC