您好,这是由于mysql版本高引起的问题,建议使用8.0以前的版本,或者调整MySQL服务器端的密码验证策略试下:
root用户登录MySQL,执行以下三条命令
alter user 'root'@'localhost' identified by '你的密码' password expire never;
alter user 'root'@'localhost' identified with mysql_native_password by '你的密码';
flush privileges;
查看完整内容