Re: MySqlConnection doesn't close
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
Subject
Written By
Posted
November 07, 2006 02:56PM
November 07, 2006 04:04PM
November 08, 2006 09:21AM
Re: MySqlConnection doesn't close
November 08, 2006 02:35PM
November 09, 2006 05:04AM
November 09, 2006 09:52AM
November 18, 2006 08:19AM
November 28, 2006 02:33PM
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.