You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect it's because the library waits for the first query to be made to add connections to the pool.
So if what you suggest needs to be implemented, then createPool() function will need to run this query as soon as it's called.
probably yes , but i can also imagine running it with the first query in an optimistic attempt 🤔 and wait_time can also be run with the first query either way
ive had some connection problems for a while now and today i figured out that my server had lower wait_timeout than the default
but i was wondering : why just run a small
SELECT @@max_allowed_packet,@@wait_timeout
query to get those values directly from the server and include them accordingly
(unless of cause user provided parameters overwrite them)
The text was updated successfully, but these errors were encountered: