question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ER_NOT_SUPPORTED_AUTH_MODE with mysql_native_password

See original GitHub issue

I 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:open
  • Created 3 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
dougwilsoncommented, Jul 31, 2020

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 👍

2reactions
baba43commented, Jan 9, 2021

Same issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found