Page 2 of 2

Posted: 28.11.2007, 20:58
by mdaems
Pingserver should TRY to reconnect and return true if it succeeds. Of course, when the server is really gone at PingServer you get false (see mysql_ping() API call in mysql docs).

Sure about that reconnect? Here it's at line 188 of ZConnection.pas. (Trunk version, so certainly in Testing version). Just call it like this

Code: Select all

TZConnection1.Reconnect;
Mark