File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Mysql 5.0 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Mysql 5.0 error" Watch "Mysql 5.0 error" New topic
Author

Mysql 5.0 error

Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 150

MySql database gives Too Many Connections Error.
My Application is using mysql database. and in every page i have close the connection. Even if one user is surfing the site it give the Mysql Error: Too Many Connections.
Any suggestions???


[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!
SCJP1.5.
g Peshone
Ranch Hand

Joined: Oct 20, 2008
Posts: 44
You probably are not closing any connection. Try without closing any connection at all. It should be stateless and so shut down every time the query is done. Something like that!?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mysql 5.0 error