MySQL disable foreign key constraint check


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. mysql> SET FOREIGN_KEY_CHECKS = 0;
  2. mysql> SOURCE dump_file_name;
  3. mysql> SET FOREIGN_KEY_CHECKS = 1;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.