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

DB connection issue #1

Closed
KOO-YS opened this issue Aug 26, 2020 · 1 comment
Closed

DB connection issue #1

KOO-YS opened this issue Aug 26, 2020 · 1 comment

Comments

@KOO-YS
Copy link
Owner

KOO-YS commented Aug 26, 2020

MySql Connection Fail

{  
  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
}
@KOO-YS
Copy link
Owner Author

KOO-YS commented Aug 26, 2020

mysql 8.x 이상에서 나는 에러

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '새 비밀번호';
flush privileges;

후 정상 작동

@KOO-YS KOO-YS closed this as completed Aug 26, 2020
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

1 participant