Skip to content
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

MySQL client is too old #172

Open
xSehrMotiviert opened this issue Dec 10, 2023 · 1 comment
Open

MySQL client is too old #172

xSehrMotiviert opened this issue Dec 10, 2023 · 1 comment

Comments

@xSehrMotiviert
Copy link

xSehrMotiviert commented Dec 10, 2023

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?

@malfurion
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants