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