Mysql:Changes in MySQL 5.6.30 (2016-04-11, General Availability):--ssl-mode:
Changes in MySQL 5.6.30 (2016-04-11, General Availability)
-
The linked OpenSSL library for the MySQL Commercial Server has been updated to version 1.0.1s. For a description of issues fixed in this version, see http://www.openssl.org/news/vulnerabilities.html.
This change does not affect the Oracle-produced MySQL Community build of MySQL Server, which uses the yaSSL library instead. (Bug #22685885, Bug #22923458)
-
MySQL client programs now support an
--ssl-mode
option that enables you to specify the security state of the connection to the server. If the option is not specified, the default value isDISABLED
(establish an unencrypted connection).--ssl-mode=REQUIRED
can be specified to require an encrypted connection, or fail if an encrypted connection cannot be obtained.These clients support
--ssl-mode
: mysql, mysqladmin, mysqlcheck, mysqldump, mysqlimport, mysqlshow, mysqlpump, mysqlslap, mysqltest, mysql_upgrade.For more information, see Command Options for Encrypted Connections.
NoteIn MySQL 5.7 and higher, the C client library provides native support for requiring encrypted connections: call the
mysql_options()
C API function, passing theMYSQL_OPT_SSL_MODE
option with a value ofSSL_MODE_REQUIRED
. In MySQL 5.6, the client library provides no such support because doing so would break binary compatibility with previous library versions within the series. Clients that require encrypted connections must implement the logic themselves.To require encrypted connections in MySQL 5.6, the standard MySQL client programs use this technique: If
--ssl-mode=REQUIRED
was specified, the client program turns on SSL, connects to the server, and checks whether the resulting connection is encrypted. If not, the client exits with an error. Third-party applications that must be able to require encrypted connections can use the same technique. For details, see mysql_ssl_set().
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
2014-03-29 Oracle:create pfile from spfile:rac下要小心该操作啊!
2013-03-29 Oracle:管理 date类型 interval 动态变化的分区:查询、删除
2013-03-29 JDBC 访问 Oracle ,如果结果集 中的字段 含有【null】值,无法获得结果集