mysql高版本出现ssl警告
来源:互联网 发布:nvidia cuda windows 编辑:程序博客网 时间:2024/05/17 03:20
警告内容:
Sat Dec 23 21:14:35 CST 2017 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.
解决方法:
在连接字符串url后面加上useSSL=true或useSSL=false
例:
修改前:spring.datasource.url = jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8
修改后:spring.datasource.url = jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false
- mysql高版本出现ssl警告
- MySQL在高版本需要指明是否进行SSL连接
- 连接mysql出现警告:Establishing SSL connection without server's identity verification is not recommended
- Java连接MySQL出现警告
- 连接高版本的MySQL时会报SSL 的提示信息
- 解决MySQL在高版本需要指明是否进行SSL连接问题
- mysql高版本5.6到5.5或低版本复制中出现的错误
- Java连接Mysql数据库警告:Establishing SSL connection
- Java连接MYSQL出现的警告
- gcc较高版本的一些编译警告收集
- SSL异常,高低版本MySQL连接异常
- Myeclipse连接MySQL数据库出现SSL问题
- 高版本的mysql安装出现的问题,怎么安装好的?
- MySQL 数据库访问方式,以及jar包版本太高出现的访问数据库异常问题
- Redis 3.0.7版本启动时出现警告的解决办法
- Hive提示警告SSL
- Hive提示警告SSL
- Java使用mysql-jdbc连接MySQL出现如下警告:
- [kuangbin带你飞]专题1 简单搜索 H
- 指针浅析
- xcode里用mysql
- Java设计模式2-工厂模式
- opencv2中代码在opencv3下运行时报错的修改一些方法
- mysql高版本出现ssl警告
- JavaWeb实现好友验证的思路
- python oss上获取指定bucket,指定时间范围内文件
- c语言&位字段(位域)
- 【干货】Inception经典架构对比
- [Leetcode] 556. Next Greater Element III 解题报告
- Sublime text3 快捷键操作
- Bad Hair Day POJ
- Kotlin官网学习(一)基础