mysql 连接 sqlyog 或者navicat 出现一下错误
解决办法
修改加密规则
ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘password’ PASSWORD EXPIRE NEVER;
修改密码
ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘你的密码’;
刷一下
FLUSH PRIVILEGES;
mysql 连接 sqlyog 或者navicat 出现一下错误
解决办法
修改加密规则
ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘password’ PASSWORD EXPIRE NEVER;
修改密码
ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘你的密码’;
刷一下
FLUSH PRIVILEGES;