Public Key Retrieval is not allowed 不允许公钥检索

Public Key Retrieval is not allowed解决方法

AllowPublicKeyRetrieval=True可能允许恶意代理执行MITM攻击以获取明文密码,因此它在默认情况下为False,必须显式启用。

在配置mysql的url时 加上 

&allowPublicKeyRetrieval=true

附 完整 url

url: jdbc:mysql://localhost:3306/dianping?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
THE END
分享
二维码
< <上一篇
下一篇>>