91名师指路-头部
91名师指路

WARN: Establishing SSL connection without server's identity verification is not recommended. Accordi

由于某些原因,现在不支持支付宝支付,如需要购买源码请加博主微信进行购买,微信号:13248254750

项目连接mysql的时候出现如下的错误信息:

Mon Dec 21 12:24:01 CST 2020 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.

解决办法:在jdbc的url后面加上useSSL=false参数。

jdbc_url=jdbc:mysql://xxxx:3306/ms?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&useSSL=false


2020-12-21 13:41:34     阅读(727)

名师出品,必属精品    https://www.91mszl.com

联系博主    
用户登录遮罩层
x

账号登录

91名师指路-底部