1select @@global.skip_show_database;
2@@global.skip_show_database
30
4select @@session.skip_show_database;
5ERROR HY000: Variable 'skip_show_database' is a GLOBAL variable
6show global variables like 'skip_show_database';
7Variable_name	Value
8skip_show_database	OFF
9show session variables like 'skip_show_database';
10Variable_name	Value
11skip_show_database	OFF
12select * from information_schema.global_variables where variable_name='skip_show_database';
13VARIABLE_NAME	VARIABLE_VALUE
14SKIP_SHOW_DATABASE	OFF
15select * from information_schema.session_variables where variable_name='skip_show_database';
16VARIABLE_NAME	VARIABLE_VALUE
17SKIP_SHOW_DATABASE	OFF
18set global skip_show_database=1;
19ERROR HY000: Variable 'skip_show_database' is a read only variable
20set session skip_show_database=1;
21ERROR HY000: Variable 'skip_show_database' is a read only variable
22