mysql delete all foreign keys code example Example: drop all foreign key constraints mysql SET foreign_key_checks = 0;