请教egg-mysql 报错 急
发布于 5 年前 作者 JackWon 2174 次浏览 来自 问答

Client does not support authentication protocol requested by server; consider upgrading MySQL client 1542608545(1).png 1542608422(1).png 1542608442(1).png

1 回复

如果你使用了mysql8.0,就会报这种错误。 原因是mysql8.0默认使用了新的密码验证方式,你可以仍然使用传统的方式。 把当前用户的密码修改为传统的密码验证方式,如下:

 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'pwd';
回到顶部