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