MySQL Timeout in IO Operation

entity-framework-6 mysql timeout visual-studio

Question

Entity framework is used by my Visual Studio 2013 web application to access the database on a remote MySQL server. The application was working fine but all of a sudden it started showing "MySQL Timeout in IO Operation" for all my sql operations. Both the query and the tables remain unchanged. I have no problems using MySQL Workbench to access the remote database.

This exception is caused by any simple operation I perform on MySQL; the following is some sample code:

public IList getalltblarticle_source()
{
    return db.tbltitles.ToList();
}
1
0
11/5/2015 12:44:24 PM

Popular Answer

It turned out to be an issue with the internet's speed.

0
11/5/2015 2:58:09 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow