MySQL Timeout in IO Operation

entity-framework-6 mysql timeout visual-studio

Question

My Visual Studio 2013 web application uses entity framework accessing 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. Nothing has changed in the query or the tables. I can access the remote database using mysql workbench fine.

There is no specific code that does this exception it's just any simple operation that I do on mysql, here's a 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 a slow internet connection problem.

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