MySQL Pool connection closed - Sails #99
Closed
MaheshkumarSundaram
started this conversation in
General
Replies: 1 comment 10 replies
-
@MaheshkumarSundaram are you working with transactions, or dealing with connections directly? Generally this doesn’t happen, unless your database is configured to have less connections than what Sails is doing. Or if you have multiple instances all fighting for connections. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @neonexus,
I just saw this issue pop up.
If I leave the Sails app running and come back after some hours (NOT SURE about any specific duration) during which the app remains idle, then when trying to do any API or backend related operations;
sails-mysql
adapter throws error stating thatPool is closed
.Haven't tested this with production build. I am doing that now.
Have you noticed anything like this before? Do you have any suggestions?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions