解决方法:
jdbc:mysql://localhost:3306/db?allowPublicKeyRetrieval=true&useSSL=false
Connection Java - MySQL : Public Key Retrieval is not allowed
最新推荐文章于 2024-08-23 17:37:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
解决方法:
jdbc:mysql://localhost:3306/db?allowPublicKeyRetrieval=true&useSSL=false