Connection pooling is on by default with the connector. What this means is
that when you close a connection in your code, the actual link to the server
is not closed but rather returned to the pool. This allows for much faster
opens later. To disable pooling, add pooling=false to your connection
string. Regardless of your pooling setting, the connections should
terminate when your application exits. If they are not, please report this
as a bug. If, however, you are still seeing the connections while your
application is running, it is likely because of pooling.
From: Darren Hill [mailto:darren@stripped]
Sent: Wednesday, November 10, 2004 2:13 PM
Subject: Connection Life?!?!?
I'm finding some connections are never dieing.
Here's my connection string
<add key="conn" value="Persist Security
id=xxxx; pwd=xxxx;" />
And I'll go ahead and do some testing and then run SHOW PROCESSLIST.
I'll find that all my connections are NOT timing out. They stay in a
SLEEP command indefinatley.
Is this a bug I should report, or am I missing something in the
Tel: 416-410-1154 ext. 2
Toll Free: 866-410-1154 ext. 2
MySQL on .NET Mailing List
For list archives: http://lists.mysql.com/dotnet
To unsubscribe: http://lists.mysql.com/dotnet?unsub=1