快捷导航

怎么解决? 我用的eclipse的maven project 跪求

Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员1

不建议在没有服务器身份验证的情况下建立ssl连接。根据mysql 5.5.45+、5.6.26+和5.7.6+的要求,如果未设置显式选项,则必须默认地建立ssl连接。为了符合不使用ssl的现有应用程序,验证服务器证书属性设置为“假”。您需要通过设置usessl=假来显式禁用ssl,或者设置usessl=真,并提供用于验证服务器证书的信任存储。翻译来的,只能帮你到这里,希望对你有帮助
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP