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