When upgrading the mysql db I get the following error :
Patching the database
ERROR 1452 (23000) at line 104: Cannot add or update a child row: a foreign key constraint fails (`zabbix-1-8-6`.<result 2 when explaining filename '#sql-7ad_1b'>, CONSTRAINT `c_config_2` FOREIGN KEY (`discovery_groupid`) REFERENCES `groups` (`groupid`))
Failed to patch Zabbix database. Restore from backup
[root@nzhmlzab01 mysql]#
Patching the database
ERROR 1452 (23000) at line 104: Cannot add or update a child row: a foreign key constraint fails (`zabbix-1-8-6`.<result 2 when explaining filename '#sql-7ad_1b'>, CONSTRAINT `c_config_2` FOREIGN KEY (`discovery_groupid`) REFERENCES `groups` (`groupid`))
Failed to patch Zabbix database. Restore from backup
[root@nzhmlzab01 mysql]#
Comment