http://planet.mysql.com/entry/?id=20450
 
- mysql> show variables like ‘log_slave_updates‘;  
- +-------------------+-------+  
- | Variable_name     | Value |  
- +-------------------+-------+  
- | log_slave_updates | OFF   |  
- +-------------------+-------+  
- 1 row in set (0.00 sec)  
-   
- mysql> set global log_slave_updates=1;  
- ERROR 1238 (HY000): Variable ‘log_slave_updates‘ is a read only variable  
 
 
 
 
- mysql> system gdb -p $(pidof mysqld) -ex "set opt_log_slave_updates=1" -batch  
- mysql> show variables like ‘log_slave_updates‘;  
- +-------------------+-------+  
- | Variable_name | Value |  
- +-------------------+-------+  
- | log_slave_updates | ON |  
- +-------------------+-------+  
 
 log_slave_updates在线修改
原文:http://www.cnblogs.com/zengkefu/p/5654842.html