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

MySqlCommand CommandTimeout infinite? (no replies)

$
0
0
Would someone clarify whether .net connector commandtimeout = 0 should set an infinite value please?
Im running connector version 6.2.3 and when I try to set CommandTimeout to 0 it remains at the default of 30. I don't know if this is intended or not.

Months ago, (with older versions of the connector) I used to set command timeout to 0 as part of the connection string and long queries wouldn't timeout.
I found yesterday that this method wasn't working on a large test database, so tried to use the connector's CommandTimeout instead.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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