When trying to manually load the database via the sql files, this error comes up when trying to load "categories.sql"
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`osclass`.`crap_t_category_description`, CONSTRAINT `crap_t_category_description_ibfk_2` FOREIGN KEY (`fk_c_locale_code`) REFERENCES `crap_t_locale` (`pk_c_code`))
Query OK, 1 row affected (0.00 sec)
with pages.sql, some rows load, then this error ends it:
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`osclass`.`crap_t_pages_description`, CONSTRAINT `crap_t_pages_description_ibfk_2` FOREIGN KEY (`fk_c_locale_code`) REFERENCES `crap_t_locale` (`pk_c_code`))
Could somebody please provide a working database unload?