laravel-oci8
laravel-oci8 copied to clipboard
What's the best way to test that the database is available?
Hi:
What's a good way to test whether the database is available? For example, suppose that the network between the webserver and the database server is down or the database is otherwise unavailable; is there a way to test for that?
Thanks, Greg
Not sure but maybe try by adding an exception handler that captures an Oci8Exception with some conditions that filters a connection error?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.