Mysql: (node:1116) [DEP0095] DeprecationWarning: timers.enroll() is deprecated. Please use setTimeout instead.

Created on 23 May 2018  路  5Comments  路  Source: mysqljs/mysql

when i use node with version > 9,then they will give the warnning.
(node:1116) [DEP0095] DeprecationWarning: timers.enroll() is deprecated. Please use setTimeout instead.

bug

Most helpful comment

I solved that
npm install mysql
above works well锛寃hen mysql is @2.16.0

All 5 comments

Duplicate of #2003

This was marked as a duplicate of #2003 but that is wrong. #2003 talks about DEP0096, this is DEP0095. I assume that they would have similar resolutions if writing the code yourself, but in this case, its the mysql plugin that's doing this, not anything in my own code, and I would like an answer for this

Sorry, I didn't notice the difference in numbers. Reopening and pull request is always welcome. Since I though this was a duplicate on accident (thanks for assuming I wad being malicious instead of trying to consider that I didn't notice they were not the same) I have done no work on this. Please conduct yourself better in the future.

I was not intending to be malicious and I apologize that I came off that way. I will look into the code and see if I can find a fix, and will try to come off better in the future, thanks for reopening!

I solved that
npm install mysql
above works well锛寃hen mysql is @2.16.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tbaustin picture tbaustin  路  3Comments

acefxlabs picture acefxlabs  路  4Comments

skilbjo picture skilbjo  路  3Comments

whatthehell232 picture whatthehell232  路  3Comments

Rhapsody-Sky picture Rhapsody-Sky  路  3Comments