I have two databases.
First database is used by site.
Second is used for debuging by test site.
Several times per day I have to update test site database.
I don’t have root access to drop and create debug database.
So I have to drop all tables ignoring foreign keys; backup and restore tables from firts database to second.
All tables are InnoDB with foreign keys.
1 Answer