8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 8 安全 / 8.1 一般安全问题 / 8.1.4 安全相关的 mysqld 选项和变量
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

8.1.4 与安全相关的 mysqld 选项和变量8.1.4 Security-Related mysqld Options and Variables

下表显示了mysqld 选项和影响安全性的系统变量。有关每个选项的描述,请参见第 7.1.7 节,“服务器命令选项”,以及第 7.1.8 节,“服务器系统变量”。The following table shows mysqld options and system variables that affect security. For descriptions of each of these, see Section 7.1.7, “Server Command Options”, and Section 7.1.8, “Server System Variables”.

表 8.1 安全选项和变量摘要Table 8.1 Security Option and Variable Summary

名称Name 命令行Cmd-Line 选项文件Option File 系统变量System Var 状态变量Status Var 变量范围Var Scope 动态Dynamic
允许可疑 UDFallow-suspicious-udfs 是Yes 是Yes
自动存储过程权限 (automatic_sp_privileges)automatic_sp_privileges 是Yes 是Yes 是Yes 全球Global 是Yes
根目录切换chroot 是Yes 是Yes
本地文件导入local_infile 是Yes 是Yes 是Yes 全球Global 是Yes
安全用户创建safe-user-create 是Yes 是Yes
secure_file_priv(安全文件权限)secure_file_priv 是Yes 是Yes 是Yes 全球Global 否No
跳过授权表skip-grant-tables 是Yes 是Yes
跳过名称解析skip_name_resolve 是Yes 是Yes 是Yes 全球Global 否No
跳过网络功能skip_networking 是Yes 是Yes 是Yes 全球Global 否No
跳过显示数据库skip_show_database 是Yes 是Yes 是Yes 全球Global 否No