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