怎么解决? 我用的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.

https://img2.mukewang.com/5af53e8f0001f5fe17020407.jpg

缘柠
浏览 1101回答 1
1回答

慕桂英2170621

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

相关分类

SQL Server