I previously used to access to MySQL-server components ZEOSLib (http://zeos.firmos.at)
To test connection, there was a function Ping (TZConenction.Ping)
In TUniConnection no feature Ping. But Ping is in TMySqlSession.
As of TUniConnection allocate TMySqlSession to perform Ping?
UniDAC and Ping
Maybe in future versions can be done something like that
Code: Select all
(UniConnection1.CurrentSession as TMySqlSession).Ping