Migrating from MyDac to UniDac: how to ping the mysql server

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Migrating from MyDac to UniDac: how to ping the mysql server

Post by swierzbicki » Sat 17 Dec 2011 22:34

Hello,

I'm migrating from MyDac to UniDac but how can I now ping the mysql server ?

AndreyZ

Post by AndreyZ » Mon 19 Dec 2011 12:08

Hello,

For the time being UniDAC doesn't have such functionality. You can execute a very fast query instead of pinging your server. Here is an example:

Code: Select all

UniConnection.ExecSQL('SELECT NULL', []);

Post Reply