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
Now I want to use mysql-live-select within worker.js but I want to it was connected to mysql only once and this connection could be shared between workers.
Because initially I wanted to do so that the connection to mysql was established only once from parent process and propagated to all workers who should be used this connection.
But during my experiments I noticed that the serverId does not affect anything. If I comment out the serverId then all workers still normal receive the updates from mysql. Do you know anything about this behavior?
Hi. I have typical node cluster.
Now I want to use mysql-live-select within worker.js but I want to it was connected to mysql only once and this connection could be shared between workers.
Right now I am wrote this within worker.js
but this does not work and I get an error: Error: ER_CON_COUNT_ERROR: Too many connections
How to fix? Thanks.
The text was updated successfully, but these errors were encountered: