Now there's a node module to solve this: mysql-wrapper
Last active
December 18, 2015 16:59
-
-
Save kaelzhang/5815755 to your computer and use it in GitHub Desktop.
Node-mysql wrapper: use this trick to prevent program exiting caused by failure of node-mysql, and disable `connect` and `end` methods which might cause unexpected errors. "Error: Cannot enqueue Handshake after already enqueuing a Handshake".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment