node-promise-mysql icon indicating copy to clipboard operation
node-promise-mysql copied to clipboard

MySQL client is too old

Open xSehrMotiviert opened this issue 2 years ago • 1 comments

Error message I got from the server:

code: 'ER_NOT_SUPPORTED_AUTH_MODE', errno: 1251, sqlMessage: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client', sqlState: '08004', fatal: true

MySQL Server version: 8.0.33 NodeJS Version: v18.15.0 NPM Version: 9.5.0 Package Version: ^5.2.0

Any known fix for this?

xSehrMotiviert avatar Dec 10 '23 06:12 xSehrMotiviert

The package isn't maintained anymore same for the mysql main package. but you can use mysql2 which also has a promise wrapper and is up to date https://www.npmjs.com/package/mysql2

malfurion avatar Jun 10 '24 13:06 malfurion