Mysql:Changes in MySQL 5.6.34 (2016-10-12, General Availability):secure-file-priv
Changes in MySQL 5.6.34 (2016-10-12, General Availability)
-
Incompatible Change: The
secure_file_priv
system variable is used to limit the effect of data import and export operations. The following changes have been made to how the server handles this variable:-
secure_file_priv
can be set toNULL
to disable all import and export operations. -
The server checks the value of
secure_file_priv
at startup and writes a warning to the error log if the value is insecure. A non-NULL
value is considered insecure if it is empty, or the value is the data directory or a subdirectory of it, or a directory that is accessible by all users. Ifsecure_file_priv
is set to a nonexistent path, the server writes an error message to the error log and exits. -
Previously, the
secure_file_priv
system variable was empty by default. Now the default value is platform specific and depends on the value of theINSTALL_LAYOUT
CMake option, as shown in the following table.INSTALL_LAYOUT
ValueDefault secure_file_priv
ValueSTANDALONE
,WIN
NULL
DEB
,RPM
,SLES
,SVR4
/var/lib/mysql-files
Otherwise mysql-files
under theCMAKE_INSTALL_PREFIX
value -
To specify the default
secure_file_priv
value explicitly if you are building from source, use the newINSTALL_SECURE_FILE_PRIVDIR
CMake option. To specify a directory for the embedded server, set the newINSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR
option. Its default value isNULL
.
(Bug #24679907, Bug #24695274, Bug #24707666)
-
【推荐】国内首个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】值,无法获得结果集