- 链接地址:https://blog.csdn.net/qq_43278189/article/details/121390537
- 链接标题:向阿里云的mysql8.0写数据的时候出现Public Key Retrieval is not allowed_mysql 8.0 retrieval of the rsa public key is not e-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5008
文章浏览阅读622次。问题:今天在过滤出数据后调用JDBCUtil工具类去向阿里云的mysql8.0数据库写数据时出现了一直报错Public Key Retrieval is not allowed直接懵逼,之前调用自己写的工具类也没啥问题,唯独这一次出现了毛病md解决办法:在URL后面加上?allowPublicKeyRetrieval=true//加完后如下url = "jdbc:mysql://master:3306/mydb?allowPublicKeyRetrieval=true注意加的时英文?不是_mysql 8.0 retrieval of the rsa public key is not enabled for insecure connec
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除