Replies: 1 comment
-
anyone there? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to detect connection errors on a MySQL2 connection pool when the MySQL service stops. I noticed that pool.on('error') doesn't trigger when the MySQL server goes down. Here's what I want to achieve:
Detect when the MySQL service stops or becomes unavailable.
Handle this error gracefully and attempt reconnection.
Optionally, log or alert when the service is unavailable.
Beta Was this translation helpful? Give feedback.
All reactions