使用MySQL8.0报Public Key Retrieval is not allowed 错误的时候
第一种解决方法:
1、右键编辑连接
2、点击驱动属性,找到allowPublicKeyRetrieval,把false改为true
第二种解决方法
修改mysql 配置
连接进入mysql 后,输入以下两条命令即可
alter user 'root'@'%' identified with mysql_native_password by '123456';
刷新权限
flush privileges