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

ER_NOT_SUPPORTED_AUTH_MODE #388

Closed
frbuceta opened this issue Jun 16, 2019 · 3 comments
Closed

ER_NOT_SUPPORTED_AUTH_MODE #388

frbuceta opened this issue Jun 16, 2019 · 3 comments
Assignees

Comments

@frbuceta
Copy link

frbuceta commented Jun 16, 2019

Hi, what's up?

Today when wanting to connect in Loopback 4 to my MySQL database hosted in a Docker container, it has given me this error.

Versions:

  • LoopBack 4: latest
  • loopback-connector-mysql: latest
  • MySQL: 8.0.16

Error

Connection fails: Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client It will be retried for the next request.

{
  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
}
@dhmlau
Copy link
Member

dhmlau commented Jun 19, 2019

@frbuceta , i'm not sure if the error is caused by this connector. I found this thread: mysqljs/mysql#2046. Could you please take a look and see if it fixes your problem? Thanks.

@dhmlau dhmlau self-assigned this Jun 19, 2019
@frbuceta
Copy link
Author

I'm going to check

@frbuceta
Copy link
Author

@frbuceta , i'm not sure if the error is caused by this connector. I found this thread: mysqljs/mysql#2046. Could you please take a look and see if it fixes your problem? Thanks.

Works, thanks

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