Database
[MySQL 8.0] nodejs mysql 연동 에러
kyeongjun-dev
2020. 9. 18. 14:35
에러 문구
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
해결 방안
alter user 'Open'@'%' identified with mysql_native_password by '비밀번호';
flush privileges;
분명 계정 생성할 때는 아래 명령어로 진행을 했는데,
create user 'Open'@'%' identified by '비밀번호';
해결방안대로 하니까 해결됨... 머야 이게 ;;
https://dba.stackexchange.com/questions/209514/what-is-mysql-native-password