node.js
Nodejs와 mysql 모듈 연동 에러 해결 | Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
환경 이름 버전 Server Node.js v16.14.0 DBMS MySQL Ver 8.0.28-0ubuntu0.20.04.3 for Linux on x86_64 ((Ubuntu)) npm 모듈 mysql 2.18.1 * mysql : Node.js와 MySQL 연동을 위한 모듈 Error 원인 Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 에러 문구를 간단하게 해석해보면, 클라이언트 프로그램이 인증 프로토콜을 지원하지 않아 발생했다는 것이다. 즉, 클라이언트가 지원할 수 있는 패스워드 플러그인으로 변경시켜주..