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

Error: ER_NOT_SUPPORTED_AUTH_MODE #534

Closed
ghost opened this issue Apr 11, 2019 · 5 comments
Closed

Error: ER_NOT_SUPPORTED_AUTH_MODE #534

ghost opened this issue Apr 11, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 11, 2019

hi, everyone, i have this problem: "Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client"
i have installed latest nodered (0.20.5), and latest version of flow 0.0.18 (https://flows.nodered.org/node/node-red-node-mysql)
i run mysql in docker from https://hub.docker.com/_/mysql, but i cannot connect :(

@dceejay
Copy link
Member

dceejay commented Apr 11, 2019

What is your mysql server version ?
I think the library may not support some of the version 8 features.
mysqljs/mysql#2046

@ghost
Copy link
Author

ghost commented Apr 11, 2019

8.0.15 version

@ghost
Copy link
Author

ghost commented Apr 11, 2019

ok, wich version support? i will use supported version!

@ghost
Copy link
Author

ghost commented Apr 11, 2019

i using previous version (5.7.25) all, ok, we will waiting update, best regards!

@ghost ghost closed this as completed Apr 11, 2019
@juggledad
Copy link
Contributor

juggledad commented Jan 28, 2020

A user reports (https://discourse.nodered.org/t/mysql-connection-error/20953/4) that you can do the following

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'
Where root is your user, localhost is your URL and password is your password
Then run this query to refresh privileges:
flush privileges;

This issue was closed.
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