반응형
발생 상황
Node.js에서 MySQL을 연결 후 실행하는 도중 발생
에러 코드 및 메시지
Error Code : ER_NOT_SUPPORTED_AUTH_MODE
Error Message : ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
해결 방법
1. MySQL Installer 실행
2. MySQL Server > Reconfigure 들어가기
3. Authentication Method > Use Legacy Authentication Method로 변경
해결
실행해보면 잘 돌아가는 걸 확인할 수 있다.
> node ./bin/www
MySQL 연결 성공
반응형
'Study > Error 모음' 카테고리의 다른 글
[IntelliJ] 인텔리제이에서 디버그 사용하기 (0) | 2022.02.16 |
---|
댓글