mysql foreign key constraint set = 0 code example Example: mysql set foreign_key_checks=0 set foreign_key_checks=0;