I would like to check the MySql server connection status.
I try
oCn:Connect()
oCn:lOpen
Both are returning .T. after connect but after I disconnect internet/intranet (lost the connection). It is still returning .T.
How can I know the connection status? Because, I will use oCn:Close(), oCn:Connect() after I know the connection is lost.
Thank you in advance.
Regards,
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)