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