Hello,
I Connect to Mysql using a UI app for eg VB6 using a connection string
then
Start transction
Do Updates
'err Lost Connection
try RollBack 'Err because no connection active
try Close Connection 'Err because Transaction is active
Now i can dispose the connection object and create another connection when connection is available. but even after closing the application if i do "Show ProcessList". the first connection is still there in sleep mode.
How do i get rid of this connection.?
Can i get the connection ID (ID column in the show ProcessList) from any mysql variable when i Open a connection? So that i can call KILL function to close it?
Thanks
I Connect to Mysql using a UI app for eg VB6 using a connection string
then
Start transction
Do Updates
'err Lost Connection
try RollBack 'Err because no connection active
try Close Connection 'Err because Transaction is active
Now i can dispose the connection object and create another connection when connection is available. but even after closing the application if i do "Show ProcessList". the first connection is still there in sleep mode.
How do i get rid of this connection.?
Can i get the connection ID (ID column in the show ProcessList) from any mysql variable when i Open a connection? So that i can call KILL function to close it?
Thanks