Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

Start Transaction - lost connection - rollback error (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 1447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>