Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
- Posts: 10
- Joined: Wed 27 Jul 2005 11:36
I have an application that timeouts on the server side, but the MySQLConnection.state remains open. Is there a way to know when the server has closed the connection so that i can reconnect automatically
- Posts: 2756
- Joined: Mon 13 Mar 2006 07:43
Use Ping() method of the MySqlConnection component to determine whether connection to MySQL server is valid.