解决MySQL在高版本需要指明是否进行SSL连接问题
来源:互联网 发布:淘宝如何设置快递模板 编辑:程序博客网 时间:2024/06/01 11:13
访问出现以下信息
Tue Jul 18 10:03:44 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.
解决方案:
在mysql连接字符串url中加入ssl=true或者false即可
spring.datasource.url=jdbc:mysql://localhost:3306/test?useSSL=true
阅读全文
2 0
- 解决MySQL在高版本需要指明是否进行SSL连接问题
- MySQL在高版本需要指明是否进行SSL连接
- 【android】 在高版本中进行WebView与js交互需要注意的问题
- MySQL ssl连接错误解决
- jdbc连接postgresl需要指明特定模式
- mysql高版本出现ssl警告
- 连接高版本的MySQL时会报SSL 的提示信息
- SSL异常,高低版本MySQL连接异常
- 如何解决Java通过JDBC访问MySQL时SSL连接告警问题
- 解决mysql 连接问题
- Myeclipse连接MySQL数据库出现SSL问题
- 解决中文乱码问题(注意在1.7.6版本才可以,在1.7.10 版本高版本不行的)
- 解决在低版本的xcode上使用高版本iOS系统手机进行真机测试
- 解决登录WDCP面板出现"无法连接mysql,请检查mysql是否已启动"问题
- java与mysql的连接字符串,指明字符集的写法
- [Delphi]Delphi中dbexpress连接3.0以上高版本mysql的问题
- 解决在高版本浏览器下的input type="file"的路径问题
- 解决在Safari、IE高版本中采用自定义选择文件按钮ajaxFileUpload不能上传问题
- Android Git与sourcetree使用方法(二)项目导入远端仓库
- pat 1009. Product of Polynomials (25)
- angular js 对于数组的操作
- 迄今为止最优的Eclipse运行性能调优 ,含eclipse.ini
- 常见Git推送的报错
- 解决MySQL在高版本需要指明是否进行SSL连接问题
- 用apex代码通过Trigger提交审批/在List View上批量提交与审批
- 省级联动
- 银行业务中的清算和结算分别是什么样的过程?
- java class加载
- 关于chain.doFilter(request,response)
- service单元测试忽略@component注解
- Lua 基础之元表
- Web 服务器被配置为不列出此目录的内容