garyilm
asked on
Kill Mysql Sleepy Connections with ASP
From time to time I find some sleepy connection in my mysql database. Im looking for a way to kill these through an asp page. I am looking for a code sample in asp.
if you've already checked this, you want to disable the autoconnect flag in MySQL, as this may be the problem as well.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
conn.open connectionString
'-- do stuff
if conn.State <> 0 then conn.Close
set conn = nothing