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

Query continues to run after MySqlCommand Timeout reached (1 reply)

$
0
0
I am using the MySql .NET Connector and setting the value of the CommandTimeout. Some queries take a long time to complete and the timeout occurs on the client side as expected. However, when examing the server, the command is continuing to execute.

The CommandTimeout is set in the MySqlCommand object. Is there a way to show the session variables by threadid (not just the current session) to verify the setting?

Why doesn't the server honor the command timeout configured through the MySqlCommand object?

I am using MySql 5.5 and 6.3.6 of the .Net Connector.

Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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