-
Notifications
You must be signed in to change notification settings - Fork 2.5k
No "on" method for pool object #561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Pool.on is inherited from EventEmitter part of node.js standard library 'events' and is inherited using 'inherit' from the node.js standard library 'util'. I would hazard a guess that you need to update your version of Node.js |
I installed the latest node.js recently (0.10.17) and have the same issue. |
There is no "on" method in the documentation for 2.0.0-alpha8 version: So to use this method you need to download master branch of node-mysql. |
This issue can be closed. The reason you are getting the error is because you are not using at least |
Feel free to reopen, if your problem still exists. |
I am seeing this issue using "2.0.0-alpha8".
Code Snippet :
The text was updated successfully, but these errors were encountered: