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

Establishing SSL connection without server's identity verification is not recommended

有人报这个warning吗?

Tue Apr 17 15:01:01 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.


正在回答

2 回答

在URL加入useSSL=true

0 回复 有任何疑惑可以回复我~
#1

慕UI321664

请问在哪里加啊 可以说的具体一点吗?是在url: jdbc:mysql://127.0.0.1:3306/dbgirl这句后面加吗
2018-05-16 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
2小时学会Spring Boot
  • 参与学习       151662    人
  • 解答问题       1079    个

Spring Boot入门视频教程,你将学会使用Spring Boot快速构建应用程序

进入课程

Establishing SSL connection without server's identity verification is not recommended

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信