System variables category

1. 系统变量分类

Understand Server Options, Variables, and the Command Line
理解服务器选项, 系统变量,和命令行参数

服务器选项:顾名思义,使用配置文件中的参数进行配置数据库.
系统变量:分为状态变量和配置变量.

说明:
服务器选项参数全都被包含再命令行参数里面.

系统变量总数:4298

Name Cmd-Line Option File System Var Status Var Var Scope Dynamic
default_collation_for_utf8mb4 Yes Yes Both Yes

说明:
动态参数就一个. 状态变量和 上述变量都不重叠.

Name Cmd-Line Option File System Var Status Var Var Scope Dynamic
original_commit_timestamp Yes Session Yes

表1:

Name Cmd-Line Option File System Var Status Var Var Scope Dynamic
[defaults-extra-file] Yes
[defaults-file] Yes
[defaults-group-suffix] Yes
[install] Yes
[install-manual] Yes
[local-service] Yes
ndb-transid-mysql-connection-map Yes
[no-defaults](. Yes
[print-defaults] Yes
[remove] Yes
[slave-pending-jobs-size-max] Yes

附: