Set FOREIGN_KEY_CHECKS variable to 0 before replication process #185
Unanswered
deliverydeli
asked this question in
Q&A
Replies: 1 comment
-
Just to add what @deliverydeli says. If we are talking about MySQL Server for me these options must be set before the replication: Before replication:
After finished:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to add a query (SET FOREIGN_KEY_CHECKS=0;) before the replication process to allow truncating tables with foreign key constraints? It could be added as an argument.
Beta Was this translation helpful? Give feedback.
All reactions