I have a big dump (tens of GB) and I would like to import it into a new table without respecting the ENGINE=INNODB parameter.
I tried several editors dedicated for large files to edit the dump but it always takes a lot of time to save the modifications, so it would make much more sense to just ignore the ENGINE=INNODB parameter and override it (for example with the default engine).
Importing and then changing the engine would not be an option as InnoDB is extremely slow to import the dump, so it would take days.
mysqldump --compatible=no_table_options
worked for me
If you are on a linux/unix system how about an in place edit with sed
sed -i 's/ENGINE=INNODB/ENGINE=MYISAM/g' filename
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With