SQLyog连接报错 Error No.2058 Plugin caching_sha2_password could not be loaded

Posted 森大科技

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQLyog连接报错 Error No.2058 Plugin caching_sha2_password could not be loaded相关的知识,希望对你有一定的参考价值。

GPS平台、网站建设、软件开发、系统运维,找森大网络科技!
https://cnsendnet.taobao.com
来自森大科技官方博客
http://www.cnsendblog.com/index.php/?p=997

 

打开cmd:mysql -u root -p 

输入密码root

进入mysql依次执行下面语句

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

ALTER USER\'root\'@\'localhost\' IDENTIFIED WITH mysql_native_password BY \'root\'; #更新一下用户的密码 

FLUSH PRIVILEGES; #刷新权限

重置密码:alter user\'root\'@\'localhost\' identified by \'root\';

 

GPS平台、网站建设、软件开发、系统运维,找森大网络科技!
https://cnsendnet.taobao.com
来自森大科技官方博客
http://www.cnsendblog.com/index.php/?p=997

以上是关于SQLyog连接报错 Error No.2058 Plugin caching_sha2_password could not be loaded的主要内容,如果未能解决你的问题,请参考以下文章