下表列出了适用于 mysqld 的所有命令行选项、系统变量和状态变量。The following table lists all command-line options, system
variables, and status variables applicable within
mysqld.
该表列出了命令行选项(Cmd-line)、配置文件中有效的选项(Option file)、服务器系统变量(System Var)和状态变量(Status var),并在一个统一列表中标明每个选项或变量的有效位置。如果在命令行或选项文件中设置的服务器选项与相应系统变量的名称不同,则在相应选项下方立即标注该变量名。对于系统变量和状态变量,变量的作用范围(Var Scope)为全局(Global)、会话(Session)或两者兼具。有关设置和使用这些选项和变量的详细信息,请参阅相应条目的描述。适当情况下,还提供了指向相关条目的更多信息的直接链接。The table lists command-line options (Cmd-line), options valid in configuration files (Option file), server system variables (System Var), and status variables (Status var) in one unified list, with an indication of where each option or variable is valid. If a server option set on the command line or in an option file differs from the name of the corresponding system variable, the variable name is noted immediately below the corresponding option. For system and status variables, the scope of the variable (Var Scope) is Global, Session, or both. Please see the corresponding item descriptions for details on setting and using the options and variables. Where appropriate, direct links to further information about the items are provided.
有关特定于 NDB Cluster 的此表版本,请参见 第 25.4.2.5 节,“NDB Cluster mysqld 选项和变量参考”。For a version of this table that is specific to NDB Cluster, see Section 25.4.2.5, “NDB Cluster mysqld Option and Variable Reference”.
表 7.1 命令行选项、系统变量和状态变量汇总Table 7.1 Command-Line Option, System Variable, and Status Variable Summary
注意:Notes:
1. 此选项是动态的,但应仅由服务器设置。您不应手动设置此变量。1. This option is dynamic, but should be set only by server. You should not set this variable manually.