blob: 9e0fddd120c07b852f8954016fe1b4228986f0b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#
# only global
#
select @@global.skip_show_database;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.skip_show_database;
show global variables like 'skip_show_database';
show session variables like 'skip_show_database';
select * from information_schema.global_variables where variable_name='skip_show_database';
select * from information_schema.session_variables where variable_name='skip_show_database';
#
# show that it's read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global skip_show_database=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session skip_show_database=1;
|