I exported 2 identical databases (identical in names and table structures) to two .sql files using mysqldump. I want to combine them into one file. However, both databases have a “Drop table” line in front of each table. This means that if I import db1 and then db2, the db1 tables will be deleted before importing the db2 tables.
The files are huge and I cannot open them in the editor. In addition, there are 50 tables in each database.
How can I ignore the decompress table command during mysql import?
source
share