HI Team,
As i am new to master/slave replication issue. We are facing the issue on slave server.
Could you please help to resolve this what are prechecks we have to do and how to resolve the issue.
Error 'Cannot delete or update a parent row: a foreign key constraint fails (`XXXX`.`trigger_discovery`, CONSTRAINT `c_trigger_discovery_2` FOREIGN KEY (`parent_triggerid`) REFERENCES `triggers` (`triggerid`))' on query. Default database: 'XXX'. Query: 'DELETE FROM triggers WHERE (triggerid IN ('13627','16433'
As i am new to master/slave replication issue. We are facing the issue on slave server.
Could you please help to resolve this what are prechecks we have to do and how to resolve the issue.
Error 'Cannot delete or update a parent row: a foreign key constraint fails (`XXXX`.`trigger_discovery`, CONSTRAINT `c_trigger_discovery_2` FOREIGN KEY (`parent_triggerid`) REFERENCES `triggers` (`triggerid`))' on query. Default database: 'XXX'. Query: 'DELETE FROM triggers WHERE (triggerid IN ('13627','16433'