When I deployed to the AWS environment, An exception has been found to the control panel.
No problem in my machine.(win10,mysql8.0,asp netcore3.1)
The exception as follows:
MySqlConnector.MySqlException (0x80004005): Failed to read the result set.
---> System.IO.EndOfStreamException: Expected to read 4 header bytes but only received 0.
If the transaction is removed, then it is normal, do not know why
`
private T UseConnection(Func<MySqlConnection, T> action)
{
When I deployed to the AWS environment, An exception has been found to the control panel. No problem in my machine.(win10,mysql8.0,asp netcore3.1)
The exception as follows: MySqlConnector.MySqlException (0x80004005): Failed to read the result set. ---> System.IO.EndOfStreamException: Expected to read 4 header bytes but only received 0.
If the transaction is removed, then it is normal, do not know why ` private T UseConnection(Func<MySqlConnection, T> action)
{
// return _storage.UseTransaction(action, IsolationLevel.ReadUncommitted); return _storage.UseConnection(action); } `