1、connect error: Authentication plugin 'caching_sha2_password' cannot be loaded
MySql 8.0.11 以上版本 换了新的身份验证插件(caching_sha2_password), 原来的身份验证插件为(mysql_native_password)。而客户端工具Navicat Premium12 中找不到新的身份验证插件(caching_sha2_password),对此,我们将mysql用户使用的 登录密码加密规则 还原成 mysql_native_password,即可登陆成功。
[root@zabbix html]# systemctl restart mysqld.service
重启服务后就可以连接数据库了。