TMyConnection.Ping
Posted: Thu 02 Apr 2009 16:43
Hello all,
Can someone please explain the use TMyConnection.Ping?
According to the help file
procedure Ping;
Description
Use this method if your application has a long time intervals between accessing the server. Ping function allows to avoid automatic disconnection of the client by the server. You can read the details at MySQL Reference Manual (mysql_ping and wait_timeout)
Looking forward to your answers.
Cheers!
NOTE: What I'm trying to do this check if a remote mySQL server/service is running.
Can someone please explain the use TMyConnection.Ping?
According to the help file
procedure Ping;
Description
Use this method if your application has a long time intervals between accessing the server. Ping function allows to avoid automatic disconnection of the client by the server. You can read the details at MySQL Reference Manual (mysql_ping and wait_timeout)
Looking forward to your answers.
Cheers!
NOTE: What I'm trying to do this check if a remote mySQL server/service is running.