My company is currently moving our databases, moving one set of tables from an old instance of MySQL to a new one. We did some development before this transfer, and the structure of some tables was changed from the original (for example, the columns were deleted).
So, currently I dumped the data from the old database and am now trying to insert it into a new table. Of course, imported borks when he tries to insert rows with more fields than the table.
What is the best way (preferably a scenario, because I foresee that I need to do this a few more times) to import only the fields I need into a new table?
source
share