Mysql 高版本警告使用ssl
2016-10-24 00:00
127 查看
使用mysql控制台出现警告
解决办法
加上useSSL=true即可,仅供强迫症患者参考
Mon Oct 24 21:57:11 CST 2016 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.
解决办法
jdbc.url=jdbc:mysql://localhost:3306/dubbo?useUnicode=true&characterEncoding=utf8&useSSL=true
加上useSSL=true即可,仅供强迫症患者参考
相关文章推荐
- mysql高版本出现ssl警告
- Java使用mysql-jdbc连接MySQL出现如下警告: WARN: Establishing SSL connection without server's identity 。。。
- 使用了旧版本 mysql 命令行客户端导致 mysqlbinlog 出错
- Grafana最新版本4.3.1安装(后端使用mysql)
- MySQL二进制包使用mysql_upgrade版本更新升级MySQL 5.7
- MySQL5.5.22版本安装配置以及基本命令的使用和管理数据库备份与恢复操作详解
- MySQL 5.7 版本的安装及简单使用(图文教程)
- 解决MySQL在连接时警告:WARN: Establishing SSL connection without server's identity verificatio
- 在单台win10电脑上使用mysql5.7.17免安装版本安装多台mysql
- Mysql连接时警告提示【WARN: Establishing SSL connection without server's identity verification is not recomm】
- MySQL 5.7版本的安装使用详细教程以及常见问题
- 解决JDBC连接MySQL时发出的警告WARN: Establishing SSL connection without server's identity verification ...
- Qt5---ftp上传功能(使用组合的办法实现功能,QNetworkAccessManager自动管理分片上传,用QLoggingCategory屏蔽SSL警告)
- MySQL主从复制使用SSL加密
- 安装mysql 8.0版本时,使用front连接报1251错误或者navicat 连接报错2059解决方案
- 关于ssm框架使用mysql控制台出现警告问题
- 详解Mybatis逆向工程中使用Mysql8.0版本驱动遇到的问题
- 如何使用 Yum Repository 安装指定版本的 MySQL
- 您的项目引用了最新实体框架;但是,找不到数据链接所需的与版本兼容的实体框架数据库 EF6使用Mysql的技巧
- Ubuntu 使用apt-get install安装制定版本的mysql