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

Fatal error encountered during command execution. (no replies)

$
0
0
I am getting the following error while iterating over 2 million rows in .Net 7 while at the same time inserting rows with another connection to another database within the same instance of MySQL. Basically, I am archiving entries older than a specific data to another database.

Fatal error encountered during command execution.
Stacktrace: at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at MyClass.ExecuteNonQuery(String sqlcmd)

I am using the MySql.Data v8.0.32 Nuget Package

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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