Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1561

Error 'Cannot delete or update a parent row: a foreign key constraint fails (1 reply)

$
0
0
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'

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>