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