Navicat连接本地mysql报错-caching_sha2_password
查询用户加密方式: select user,plugin from user where user='root'; 修改用户加密方式改为mysql_native_password。 alter user 'root'@'localhost' identified with mysql_native_password by '123123'; 执行命令flush privileges使权限配置项立即生效 flush privileges;
再次连接