http://blog.developers.api.sina.com.cn/?p=159
有时候会遇到slave在同步master数据时出错,所以极端情况下,为了避免中断,让slave跟上master的进度,可以在my.cnf里面加上一句:
slave_skip_errors=all
注意,该变量加在mysqld 这个section中。另外,它不可以动态调整,除非你重新启动加上 --slave_skip_errors=all 或者修改my.cnf。
http://blog.developers.api.sina.com.cn/?p=159
有时候会遇到slave在同步master数据时出错,所以极端情况下,为了避免中断,让slave跟上master的进度,可以在my.cnf里面加上一句:
slave_skip_errors=all
注意,该变量加在mysqld 这个section中。另外,它不可以动态调整,除非你重新启动加上 --slave_skip_errors=all 或者修改my.cnf。