| 1 |
select @@global.relay_log_info_file; |
| 2 |
@@global.relay_log_info_file |
| 3 |
relay-log.info |
| 4 |
Warnings: |
| 5 |
Warning 1287 '@@relay_log_info_file' is deprecated and will be removed in a future release. |
| 6 |
select @@session.relay_log_info_file; |
| 7 |
ERROR HY000: Variable 'relay_log_info_file' is a GLOBAL variable |
| 8 |
show global variables like 'relay_log_info_file'; |
| 9 |
Variable_name Value |
| 10 |
relay_log_info_file relay-log.info |
| 11 |
show session variables like 'relay_log_info_file'; |
| 12 |
Variable_name Value |
| 13 |
relay_log_info_file relay-log.info |
| 14 |
select * from performance_schema.global_variables where variable_name='relay_log_info_file'; |
| 15 |
VARIABLE_NAME VARIABLE_VALUE |
| 16 |
relay_log_info_file relay-log.info |
| 17 |
select * from performance_schema.session_variables where variable_name='relay_log_info_file'; |
| 18 |
VARIABLE_NAME VARIABLE_VALUE |
| 19 |
relay_log_info_file relay-log.info |
| 20 |
set global relay_log_info_file=1; |
| 21 |
ERROR HY000: Variable 'relay_log_info_file' is a read only variable |
| 22 |
set session relay_log_info_file=1; |
| 23 |
ERROR HY000: Variable 'relay_log_info_file' is a read only variable |