我现在是这样检测数据库是否连通的:
adoTable1.active:=true;
if adoTable1.active then
  showmessage('connected')
else
  showmessage('disconnected');
但是如果数据库不通的话,会过很多时间才返回结果。
不知道有没有其他快一点检测数据库是否连通的办法?