Fatal error encountered during command execution.
Posted by: Michael Janulaitis
Date: April 04, 2023 11:31AM

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

Options: ReplyQuote


Subject
Written By
Posted
Fatal error encountered during command execution.
April 04, 2023 11:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.