How to detect fail connection to MySql SOLUCIONADO
Posted: Sun Jan 17, 2021 6:58 pm
Hi friend.
I need help to detect the fail connection to Mysql
If I do...
FWCONNECT oCon HOST chost USER cUser PASSWORD cPassword DB cdatabase
If oCon== nil
MsgInfo("No hay conexxión a la bases de datos","Informe")
Endif
First show an error from mysql-server and later my MsgInfo.
I wish to show my error message only.
Thank you.
I need help to detect the fail connection to Mysql
If I do...
FWCONNECT oCon HOST chost USER cUser PASSWORD cPassword DB cdatabase
If oCon== nil
MsgInfo("No hay conexxión a la bases de datos","Informe")
Endif
First show an error from mysql-server and later my MsgInfo.
I wish to show my error message only.
Thank you.