Establishing SSL connection without server's ident

发布时间:2020-06-17 23:09:19 作者:bournew
来源:网络 阅读:467

异常信息:

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.

异常原因:

新版本要求

解决方法:

append a
useSSL=false
at the end of the MySQL connection string

推荐阅读:
  1. 由于数据库 Blob字段太多,导致从库进行binlog不能正常进行的处理方法
  2. Java如何实现自定义异常类

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

异常 ct lis

上一篇:Python 3 学习笔记:流程控制

下一篇:关于在php使用<?= ?>这个表达式

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》