mysql高版本出现ssl警告
2017-12-23 21:24
155 查看
警告内容:
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
- Java使用mysql-jdbc连接MySQL出现如下警告: WARN: Establishing SSL connection without server's identity 。。。
- 连接mysql出现警告:Establishing SSL connection without server's identity verification is not recommended
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- mysql4.1以上版本连接时出现Client does not support authentication protocol #1251错误问题解决办法
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- MySQL 警告WARN: Establishing SSL connection without server's identity verification is not recommended.
- SSL异常,高低版本MySQL连接异常
- vs2012打开低版本项目时 出现vs2012警告未能加载包“visual c++ package 解决办法
- mysql中配置ssl_key、ssl-cert、ssl-ca的路径及建立ssl连接(适用于5.7以下版本,5.7及以上请看本文末尾的备注)
- 安装Mysql最新版本mysql-5.7.10-winx64出现的几个问题解决
- phpmyadmin安装过后,登录界面出现问题,您应升级到 MySQL 5.5.0 或更高版本
- MySQL 警告WARN: Establishing SSL connection without server's identity verification is not recommended
- Mysql警告Establishing SSL connection without server's identity verification is not recommended
- php5.3以前的版本安装出现Fatal error: Call to undefined function mysql_connect()
- Java连接MySQL出现警告
- Mysql连接时警告提示【WARN: Establishing SSL connection without server's identity verification is not recomm】
- 解决JDBC连接MySQL时发出的警告WARN: Establishing SSL connection without server's identity verification ...
- MySQL安装俩个不同版本服务出现的问题(1053)
- MySQL添加新用户 出现mysql]ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value