Trying to add a blob and get this? "Fatal error encountered attempting to read the resultset."


Are you getting this error?
"Fatal error encountered attempting to read the resultset."
Are you trying to work with MySQL, blobs, C# and just can't do it?

No problem! Just set the command timeout to a larger value:

using (MySqlCommand command = new MySqlCommand(sqlCommand, connection))
{
   command.Parameters.AddRange(parameters);
   command.CommandTimeout = 86400;


Comments