环境:MySQL8.0 navicat:Navicat Premium v11
安装完之后,navicat连接不上数据库,提示2059 - Authentication plugin 'caching_ sha2_ password' cannot be loaded: @X@@..w.g\顧
原因:navicat不支持Mysql8新的加密方式caching_sha2_password
解决
方法一:升级navicat
方法二:需要修改用户的加密方式
1、命令行连接MySQL
2、输入:
alter USER root@localhost identified with mysql_native_password BY '123456';
//这个123456是你的密码