在具有外键的表上删除忽略可能会破坏复制
DELETE IGNORE on Tables with Foreign Keys Can Break Replication
I am using replication in a MYSQL database. I have read some where DELETE IGNORE command on Tables with Foreign Keys can break Replication. Is it true? If it is true then how can workaround this?
该博客中显示了有关 DELETE IGNORE 如何对复制不安全的详细信息。
解决问题的方法是执行以下任一操作:
- 不要使用
DELETE IGNORE
- 通过设置
binlog-format=ROW
使用 Row-Based 复制
I am using replication in a MYSQL database. I have read some where DELETE IGNORE command on Tables with Foreign Keys can break Replication. Is it true? If it is true then how can workaround this?
该博客中显示了有关 DELETE IGNORE 如何对复制不安全的详细信息。
解决问题的方法是执行以下任一操作:
- 不要使用
DELETE IGNORE
- 通过设置
binlog-format=ROW
使用 Row-Based 复制