果仁同学 2020-09-16 15:17 采纳率: 0%
浏览 173

为什么在Mybatis中SSL怎么改都报错?

下面的代码无论我设置他的useSSl为true还是false,运行是成功了,但它都给我警告报红,实在不解

**
<property name="url" value="jdbc:mysql://localhost:3306/mybaits?useSSl=true&amp;useUnicode=true&amp;characterEncoding=utf8"/>**

警告如下:

Wed Sep 16 14:53:34 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.

图片说明

各位大佬们咋看

  • 写回答

1条回答

  • threenewbee 2020-09-16 17:55
    关注

    useSSl=true
    是SSL不是SSI

    评论

报告相同问题?

悬赏问题

  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型