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