ignore=y will just append data to the existing table, I don't think it's exactly what you want. You may want to truncate your tables OUTSIDE of import and then import with ignore=y.
Truncate does not delete the child records. You may want to delete cascade also if you want to wipe the existing data out or you can disable the constraints.
Bookmarks