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.

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server

See original GitHub issue
F:\Projetos\Papo A Papo\in between>node mysql_boot.js
Could not establish a connection to the database
F:\Projetos\Papo A Papo\in between\mysql_boot.js:55
        throw error;
        ^

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protoc
ol requested by server; consider upgrading MySQL client

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
dougwilsoncommented, Jun 17, 2019
0reactions
diogocsccommented, Jun 17, 2019

I worked around the issue by reinstalling MySQL8.0 in legacy mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MySQL 8.0 - Client does not support authentication protocol ...
Execute the following query in MYSQL Workbench. ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';.
Read more >
Directus error " ER_NOT_SUPPORTED_AUTH_MODE
You can get the error ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client if ...
Read more >
B.3.2.4 Client does not support authentication protocol
The current implementation of the authentication protocol uses a password hashing algorithm that is incompatible with that used by older (pre-4.1) clients.
Read more >
Mysql Client Does Not Support Authentication Protocol Requested ...
The sql server must be accessed and correct database server issue, or express to support authentication protocol requested by server does not found...
Read more >
Eclipse Mysql Client Not Support Authentication Protocol | Focal ...
Client does no support authentication protocol requested by server consider. The first ... the If. Error ERNOTSUPPORTEDAUTHMODE Client does not.
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