MySQL giving “read ECONNRESET” error after idle time on node.js server

I reached out to the node-mysql folks on their Github page and got some firm answers. MySQL does indeed prune idle connections. There’s a MySQL variable “wait_timeout” that sets the number of second before timeout and the default is 8 hours. We can set the default to be much larger than that. Use show variables … Read more

tech