aspose 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
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
 
Similar Threads
Log4j JDBC Appender for MDB
jboss Oracle dataSource Connection Refused -HPUX Error: 12: Not enough space
JForum performance tuning for production
Too many connections
Max no of Connections in MySql