1 、用cmd命令窗口登录mysql
2、输入 ALTER USER ‘root‘@‘localhost‘ IDENTIFIED WITH mysql_native_password BY ‘mysql的密码‘; 回车
3、输入 FLUSH PRIVILEGES;回车
4、重启navicat 完成
1 、用cmd命令窗口登录mysql
2、输入 ALTER USER ‘root‘@‘localhost‘ IDENTIFIED WITH mysql_native_password BY ‘mysql的密码‘; 回车
3、输入 FLUSH PRIVILEGES;回车
4、重启navicat 完成