Re: MySqlConnection doesn't close
Posted by: patrikkosonen
Date: November 08, 2006 02:35PM

Hi,

thanks for the answer.
But the problem seems to be that the program doesn't use the pooled connections instead it creates new ones.

We have a connection string that looks like this:
<add key="MySqlConnectionString" value="server=XXXX;database=xx;user id=xxxx;pwd=xxxxx; allow zero datetime=true; Protocol=TCP; Compress=false; Pooling=true; Min Pool Size=10; Max Pool Size=100; Connection Lifetime=0"/>

After a while the database can't handle all of these connections.

Is there a way to solve this, maybe by setting some value that kills the connection after it has slept more than x seconds.

thanks Patrik

Options: ReplyQuote


Subject
Written By
Posted
November 07, 2006 02:56PM
Re: MySqlConnection doesn't close
November 08, 2006 02:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.