본문 바로가기
DB/MySQL

[에러]Client does not support authentication protocol requested by server; consider upgrading MySQL client

by fabxoe 2019. 10. 3.
Client does not support authentication protocol requested by server; consider upgrading MySQL client

 

 

 

mysql installer > server 옆에 reconfigure > Auth 설정가서 legacy 선택 

 

MySQL5.0으로 진행하는 예제를 MySQL8.0으로 진행하였고

Node.js, express.js, sequelize 환경이였다.

 

그 와중에 sequelize가 DB에 조회를 하려고 접근하는 중에 발생하는 오류이다.

MySQL8.0에 새로 적용된 caching_sha2_password인증기술이 키워드 이다.

 

보안옵션을 끄면 간단히 해결되지만 찜찜하다.

 

 

'DB > MySQL' 카테고리의 다른 글

Mysql 도커설치  (0) 2020.03.09
MySQL 컨테이너  (0) 2019.09.14

댓글