MySQL; ySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed

0

We are using MYSQL and its connector in Asp.net MVC web application. Sites are working fine from last couple of the years with existing setup of MYSQL< Connector.

But Recently we are getting this error:

MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine

and application getting hung, i.e. Browser showing Spinner only for couple of the minutes.

For every database call we using USING statement with Entity Framework. So connection will auto close.

So please let me know how can I fix this type of issue?

Thanks, Laxmi Lal Menaria

asp.net-mvc
entity-framework
c#-4.0
database-connection
mysql-error-1064
asked on Stack Overflow Jan 16, 2020 by Laxmi Lal Menaria • edited Jan 16, 2020 by Phong

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0