node.js서 sequelize와 mysql 8.0.17과 연동하는데 에러가 생긴다

mysql의 버그라고 한다

Unhandled rejection SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client

> mysql -u root -p

> alter user 'root'@'localhost' identified with mysql_native_password by 'PW';

비밀번호 변경후 정상 동작한다

'node.js' 카테고리의 다른 글

서버 페이지 여러개 만들기  (0) 2016.07.24
Posted by 오아시스베이베
,