解决办法亲测有效,办法引自:https://blog.csdn.net/u010026255/article/details/80062153

// 修改加密规则
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; 
// 更新一下用户的密码 
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
// 刷新权限 
FLUSH PRIVILEGES;
// 最后重置下密码:
alter user 'root'@'localhost' identified by '123456';

mysql8 :authentication plugin 'caching_sha2_password'报错解决

相关文章:

  • 2021-11-16
  • 2022-12-23
  • 2021-09-25
  • 2022-01-21
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
猜你喜欢
  • 2022-12-23
  • 2021-09-16
  • 2021-10-02
  • 2022-12-23
  • 2021-07-06
  • 2021-11-28
  • 2021-09-25
相关资源
相似解决方案