laravel-oci8 icon indicating copy to clipboard operation
laravel-oci8 copied to clipboard

What's the best way to test that the database is available?

Open ultrablue opened this issue 7 years ago • 1 comments

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

ultrablue avatar Aug 24 '18 22:08 ultrablue

Not sure but maybe try by adding an exception handler that captures an Oci8Exception with some conditions that filters a connection error?

yajra avatar Oct 25 '18 01:10 yajra

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 08 '22 03:11 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Nov 16 '22 03:11 github-actions[bot]