MySQL Variables show_create_table_verbosity 数据库 参数变量解释及正确配置使用
本站中文解释
show_create_table_verbosity 是一个MySQL参数变量。它用于设置使用SHOW CREATE TABLE语句获取表定义的选项,用以控制返回的CREATE TABLE语句的详细性。将该参数设置为EXTENDED或FULL,MySQL将会返回更详细的表定义信息,用于定位某种违反规则或不正确的问题。
可以通过使用以下语句设置这个参数:
SET GLOBAL show_create_table_verbosity = ;
其中,可以是BASIC ,EXTENDED 或FULL。
官方英文解释
show_create_table_verbosity
| Command-Line Format | --show-create-table-verbosity[={OFF|ON}] |
|---|---|
| Introduced | 5.7.22 |
| System Variable | show_create_table_verbosity |
| Scope | Global, Session |
| Dynamic | Yes |
| Type | Boolean |
| Default Value | OFF |
SHOW CREATE TABLE normally does
not show the ROW_FORMAT table option if the
row format is the default format. Enabling this variable
causes SHOW CREATE TABLE to
display ROW_FORMAT regardless of whether it
is the default format.