MYSQl Server Timeout

MYSQl Server Timeout

Postby vincentfitzg » Tue 14 Mar 2006 07:44

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

Thanks!
vincentfitzg
 
Posts: 10
Joined: Wed 27 Jul 2005 11:36

Postby Alexey » Tue 14 Mar 2006 09:22

Use Ping() method of the MySqlConnection component to determine whether connection to MySQL server is valid.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL