개발/Database

MySQL 8.0 Requested authentication method unknown to the client 이슈 해결

Sengwoolee 2020. 9. 23. 22:51

1. /etc/mysql/my.cnf 에 다음 내용 추가

[mysqld]
default_authentication_plugin= mysql_native_password

2. mysql 에서 root 사용자로 다음 명령 실행

FLUSH PRIVILEGES;
반응형