-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot enqueue Query after fatal error. #1694
Comments
Hi @PoojaKhandhadia the error If you are not using the pool, you'll need to implement fatal error handing in your own code. What this means is that you need to check every I hope this helps! |
this seems to work for me : mysql connection restarts everytime a fatal error occurs.
|
Closing since there hasn't been a follow up from @PoojaKhandhadia |
Hi I am new to nodejs and trying the connect the Mysql.
I am really troubled with the error Cannot enqueue Query after fatal error.
a) I am not using connection pooling so as not to complicate for start.
This is my code in server.js where I am trying to connect with database.
This is also a code in server.js file where I am trying to log in,but when i enter the username and password and click for to log in the error status is 500 that means server error and in console it shows Error: Cannot enqueue Query after fatal error.
Can someone please help me to solve this issue.
The text was updated successfully, but these errors were encountered: