DB&SQL
[MySQL] Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
송제로투
2022. 5. 31. 21:12
MySQL 서버 연결을 시도하였지만, 아래와 같은 오류 메시지가 발생하면서 서버 연결이 거부되었다.
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
이런 경우에는 mysql 서버에 들어가서 비밀번호를 변경해주면 해결이 된다.
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<변경할 비밀번호>';