SQLyog连接数据库 提示错误plugin caching_sha2_password could not be loaded
Posted Zev_Fung
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQLyog连接数据库 提示错误plugin caching_sha2_password could not be loaded相关的知识,希望对你有一定的参考价值。
1.打开mysql cmd
2.执行语句
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 \'123fzw\'; #重置密码
以上是关于SQLyog连接数据库 提示错误plugin caching_sha2_password could not be loaded的主要内容,如果未能解决你的问题,请参考以下文章