Mon Nov 19 09:12:56 CST 2018 WARN: Establishing SSL connection without serve...

Mon Nov 19 09:12:56 CST 2018 WARN: Establishing SSL connection without serve...

发布者:IT人在线 | 发表时间:2018/11/19 9:40:27

Mon Nov 19 09:38:13 CST 2018 WARN: 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.

2018年11月19日09:38:13cst2018警告:建议不要在没有服务器的情况下建立ssl连接。根据mysql 5.5.45+、5.6.26+和5.7.6+的要求,如果显式选项为't,则必须默认地建立ssl连接。为了符合不使用ssl的现有应用程序,验证服务器证书属性设置为'假'。您需要通过设置usessl=假来显式禁用ssl,或者设置usessl=真,并为服务器证书验证提供信任存储。

数据库地址后加:useSSL=false 警告消失