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