mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
Posted sininsis
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded相关的知识,希望对你有一定的参考价值。
#修改加密规则
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的主要内容,如果未能解决你的问题,请参考以下文章
mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
连接mysql8.0版本出现1251--Client does not support authentication protocol requested by server的解决
PHP连接mysql8.0出错“SQLSTATE[HY000] [2054] The server requested authentication method unknow.....
2059-authentication plugin 'caching_sha2_password"cnnot bt loaded :mysql8.0数据库链接不上: