为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

缘柠 2018-05-11 14:57:06
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 回答

已采纳
?
慕桂英2170621

TA贡献9条经验 获得超8个赞

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

查看完整回答
1 反对 回复 2018-05-11
  • 1 回答
  • 0 关注
  • 1100 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信