果仁同学 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

    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?