MySQL Variables log_error_verbosity 数据库 参数变量解释及正确配置使用
本站中文解释
log_error_verbosity是MySQL的一个参
官方英文解释
log_error_verbosity
Command-Line Format | --log-error-verbosity=# |
---|---|
System Variable | log_error_verbosity |
Scope | Global |
Dynamic | Yes |
Type | Integer |
Default Value | 3 |
Minimum Value | 1 |
Maximum Value | 3 |
The verbosity of the server in writing error, warning, and
note messages to the error log. The following table shows the
permitted values. The default is 3.
log_error_verbosity Value | Permitted Messages |
---|---|
1 | Error messages |
2 | Error and warning messages |
3 | Error, warning, and information messages |
log_error_verbosity
was added
in MySQL 5.7.2. It is preferred over, and should be used
instead of, the older
log_warnings
system variable.
See the description of
log_warnings
for information
about how that variable relates to
log_error_verbosity
. In
particular, assigning a value to
log_warnings
assigns a value
to log_error_verbosity
and
vice versa.