win10安装Mysql8.0,连接SQLyog的时候出现下面错误

sqlyog 链接新安装mysql8.0 报:plugin caching_sha2_password could not...

cmd-> mysql -u root -p 回车

密码:********

执行

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 '新密码';

相关文章: