mysql query ignore foreign key constraint code example Example: disableforiegn key check SET FOREIGN_KEY_CHECKS=0;