1.情况如下:

 

解决:

通过cmd登录mysql

 

修改plugin方式:xxxxx为自己的密码

ALTER USER root@localhost IDENTIFIED WITH mysql_native_password BY 'xxxxx';

 

连接成功:

更多推荐