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

请问这个怎么解决?

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://img1.sycdn.imooc.com//5c2c291f00012f5706700113.jpg

这个代码是这样的,google了很多方案,在后面加useSSL=false还是不行

正在回答

2 回答

jdbc:mysql://localhost:3306/miaosha?characterEncoding=utf8&useSSL=false
仅供参考
0 回复 有任何疑惑可以回复我~
#1

Mr_柳

我是在application.properties加, mybatis-generator.xml不加
2019-01-03 回复 有任何疑惑可以回复我~

3306吧   端口号

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

weixin_慕用4438374 提问者

不是的,端口号没有问题,自己设置的连接端口
2019-01-02 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
SpringBoot构建电商基础秒杀项目
  • 参与学习       49461    人
  • 解答问题       978    个

应用SpringBoot快速搭建拥有用户、商品、交易及秒杀活动的电商秒杀应用。

进入课程

请问这个怎么解决?

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号