Unhandled rejection SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client
把加密方式改为mysql_native_password
在用旧密码登录mysql之后,用下面的语句修改密码
alter user'root'@'localhost' identified with mysql_native_password by '新密码';
不用mysql_native_password这种加密方式的话,可以直接这样写
alter user'root'@'localhost' identified by '新密码';