Closed cooffeeRequired closed 4 days ago
After using a [Symbol.dispose] it start works..
After using a [Symbol.dispose] it start works..
What do you mean by that ? did you add something like :
[Symbol.dispose]: () => {
this.pool.end();
},
or was it something else ?
I have the same error Using:
When using mysql2 I'm not getting these messages
Under Sequelize connection config there was this line. I don't remember what was it for. Commenting it out helped.
instance.afterConnect(connection => new Promise(resolve => connection.query('SET NAMES UTF8MB4;', resolve)))
With mysql2 it doesn't cause any issues.