Authentication plugin 'caching_sha2_password' cannot be loaded错误处理

Posted kisinfinite

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Authentication plugin 'caching_sha2_password' cannot be loaded错误处理相关的知识,希望对你有一定的参考价值。

  使用Navicat建立新连接时,遇到Authentication plugin ‘caching_sha2_password‘ cannot be loaded错误:

解决方法如下:

  打开mysql

  技术图片

  输入命令:

  ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘password‘ PASSWORD EXPIRE NEVER;   #修改加密规则 

  ALTER USER ‘root‘@‘localhost‘ IDENTIFIED WITH mysql_native_password BY ‘password‘;   #更新用户密码 

  FLUSH PRIVILEGES;   #刷新权限 

 

参考:https://www.cnblogs.com/zhurong/p/9898675.html

以上是关于Authentication plugin 'caching_sha2_password' cannot be loaded错误处理的主要内容,如果未能解决你的问题,请参考以下文章

关于数据库连接报错:Unable to load authentication plugin 'caching_sha2_password'.

mysql错误:this authentication plugin is not supported

authentication plugin caching_sha2

grafana "this authentication plugin is not supported"

java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'.

mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded