ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails


I received such error 'Cannot add or update a child row: a foreign key constraint fails' when trying to import a new Puppet class (sys_yumversionlock) into Foreman via the smart proxy. Based on the error message, it should be database related. I am not a DBA, but I am interested to give a try, as … Continue reading ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails

Advertisement