MySQL在高版本需要指明是否进行SSL连接
来源:互联网 发布:怎样取消淘宝芝麻信用 编辑:程序博客网 时间:2024/06/06 07:13
web应用中连接MySQL数据库时后台会出现这样的提示:
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在高版本需要指明是否进行SSL连接。解决方案如下:
在mysql连接字符串url中加入ssl=true或者false即可,如下所示。
url=jdbc:mysql://127.0.0.1:3306/framework?characterEncoding=utf8&useSSL=true
阅读全文
0 0
- MySQL在高版本需要指明是否进行SSL连接
- 解决MySQL在高版本需要指明是否进行SSL连接问题
- jdbc连接postgresl需要指明特定模式
- mysql高版本出现ssl警告
- 连接高版本的MySQL时会报SSL 的提示信息
- SSL异常,高低版本MySQL连接异常
- 【android】 在高版本中进行WebView与js交互需要注意的问题
- java与mysql的连接字符串,指明字符集的写法
- 如何在QT中使用MYSQL SSL连接
- 检查版本是否需要更新
- 低版本的Xcode如何连接高版本的真机进行调试
- 如果没有指明输入个数, 如何在需要的时候停止输出。
- mysql 5.7使用ssl连接
- mysql 配置支持SSL连接
- 使用SSL加密连接MySQL
- MySQL ssl连接错误解决
- redis连接是否需要关闭
- mysql 5.6 版本,对在使用的表进行分区
- 归并排序(分治思想)
- TensorFlow学习日记2
- linux_下IP、网关、DNS地址配置
- Fusion 360 API:近期重要更新
- popup(2)
- MySQL在高版本需要指明是否进行SSL连接
- CNN中的filter
- PID
- php代码实现mysql连接池效果
- 第二章 UNIX标准及其实现
- zzuli 2134 维克兹的进制转换
- Problem 1:Find the sum of all the multiples of 3 or 5 below 1000.
- linux-arm间tftp命令的安装、使用
- 6.通过JDBC访问MySql数据库