Polling SQL connection to test connectivity.

There is currently a suggestion to add this feature as the one function that should serve this purpose doesn’t currently do it.


There isn’t actually a signal or any other indicator to poll the status of a connection in this case. The workaround for this is to send a query that you know will always be returned true, and if it returns false, you will know that the connection is down.

No comments

Write a comment

Sorry, you must be logged in to post a comment.