解决办法:
1:跳过密码登录
| 
 
          | 
2:重启mysql服务。
3:修改密码。
| 
 
         
         执行改账号sql: update user set authentication_string=password(“asd123”) where user=”root”;  | 
这个是抄的,解决了问题,网上写的人太多,就不备注抄了谁的了。
 
 
解决办法:
1:跳过密码登录
| 
 
          | 
2:重启mysql服务。
3:修改密码。
| 
 
         
         执行改账号sql: update user set authentication_string=password(“asd123”) where user=”root”;  | 
这个是抄的,解决了问题,网上写的人太多,就不备注抄了谁的了。