The USER_VARIABLES
table was introduced in MariaDB 10.2.0 as part of the user_variables
plugin.
The USER_VARIABLES
table is created when the user_variables
plugin is enabled, and contains information about user-defined variables.
The table contains the following columns:
Column | Description |
---|---|
VARIABLE_NAME |
Variable name. |
VARIABLE_VALUE |
Variable value. |
VARIABLE_TYPE |
Variable type. |
CHARACTER_SET_NAME |
Character set. |
SELECT * FROM information_schema.USER_VARIABLES ORDER BY VARIABLE_NAME; +---------------+----------------+---------------+--------------------+ | VARIABLE_NAME | VARIABLE_VALUE | VARIABLE_TYPE | CHARACTER_SET_NAME | +---------------+----------------+---------------+--------------------+ | var | 0 | INT | utf8 | | var2 | abc | VARCHAR | utf8 | +---------------+----------------+---------------+--------------------+
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/information-schema-user_variables-table/