MyDAC

TCustomDAConnection.Ping Method

Used to check state of connection to the server.

Class

TCustomDAConnection

Syntax

procedure Ping;

Remarks

The method is used for checking server connection state. Use the Ping method to prevent server from closing connection on exceeding the wait_timeout value of the MySQL server. For this, call the Ping method in intervals smaller than the server wait_timeout value.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback