1
select @@global.report_host;
4
select @@session.report_host;
5
ERROR HY000: Variable 'report_host' is a GLOBAL variable
6
show global variables like 'report_host';
9
show session variables like 'report_host';
12
select * from information_schema.global_variables where variable_name='report_host';
13
VARIABLE_NAME VARIABLE_VALUE
15
select * from information_schema.session_variables where variable_name='report_host';
16
VARIABLE_NAME VARIABLE_VALUE
18
set global report_host=1;
19
ERROR HY000: Variable 'report_host' is a read only variable
20
set session report_host=1;
21
ERROR HY000: Variable 'report_host' is a read only variable