How can I detect a MySQL server that is unresponsive
Posted: 28.03.2009, 15:44
Dear Friends,
I need to know when the server is unresponsive, or currently executing a LONG query, before I attempt to post my records.
If I could I would write the data locally and attempt to post to the server when the server is free and responsive.
The Ping does not help me as the server that is too busy to process my SQL may still be able to respond to a ping request.
If there was an indicator that I could ask for from the server that could tell me the health of the server, I could use this to decide if the server is fit enough to accept my request.
Any help would be appreciated.
Warmest Regards
Mo
CAD RETAIL
Durban
www.cad.co.za
I need to know when the server is unresponsive, or currently executing a LONG query, before I attempt to post my records.
If I could I would write the data locally and attempt to post to the server when the server is free and responsive.
The Ping does not help me as the server that is too busy to process my SQL may still be able to respond to a ping request.
If there was an indicator that I could ask for from the server that could tell me the health of the server, I could use this to decide if the server is fit enough to accept my request.
Any help would be appreciated.
Warmest Regards
Mo
CAD RETAIL
Durban
www.cad.co.za