ER_NOT_SUPPORTED_AUTH_MODE with mysql_native_password
See original GitHub issueI have a user set up with mysql_native_password authentication, verified here:
mysql> select user, plugin from mysql.user where user="testuser";
+----------+-----------------------+
| user | plugin |
+----------+-----------------------+
| testuser | mysql_native_password |
+----------+-----------------------+
I also made sure to flush privileges to ensure everything was updated on MySQL’s side, but when I try to log in, it’s still giving me an ER_NOT_SUPPORTED_AUTH_MODE.
MySQL v8.0.19 Library version 2.18.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
ER_NOT_SUPPORTED_AUTH_...
"ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server. Consider upgrading MariaDB client." JS/SQL ...
Read more >ER_NOT_SUPPORTED_AUTH_...
I figured this out. The default authentication plugin for MySQL 8 is caching_sha2_password. I changed this to mysql_native_password in the my.
Read more >Directus error "🚨 ER_NOT_SUPPORTED_AUTH_MODE
In PhpMyAdmin, go to "User accounts", select your Directus user, click on "Change password", then enter the password and select "Native MySQL authentication"...
Read more >6.4.1.1 Native Pluggable Authentication
MySQL includes a mysql_native_password plugin that implements native authentication; that is, authentication based on the password hashing method in use ...
Read more >6.2.17 Pluggable Authentication
Available Authentication Plugins · A plugin that performs native authentication; that is, authentication based on the password hashing method in use from before ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey everyone, I just wanted to say I haven’t forgot about this; I recently changed jobs and of course during that process can be a bit hectic. I will get my test changed pushed up here as a branch so you folks can test it on your set ups to check if it resolves your issue or we need to dig further. I am heading to sleep right now, but after work on Friday I will make the time to work through this issue in this module with anyone around 👍
Same issue.