标签:load root 刷新 mys ann alt cannot 用户密码 重置密码
#修改加密规则
alter user ‘root‘@‘localhost‘ identified by ‘你的密码‘ password expire never;
#更新用户密码
alter user ‘root‘@‘localhost‘ identified with mysql_native_password by ‘你的密码‘;
#刷新权限
flush privileges;
#重新重置密码
alter user ‘root‘@‘localhost‘ identified by ‘你的密码‘;
mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
标签:load root 刷新 mys ann alt cannot 用户密码 重置密码
原文地址:https://www.cnblogs.com/maluscalc/p/10115391.html