I have a database called av2web, which contains 130 MyISAM tables and 20 innodb tables. I wanna take mysqldump of these 20 innodb tables, and export it to another database as MyISAM tables.
Can you tell me a quicker way to achieve this?
Thanks
Pedro Alvarez Espinoza.
If this was an one-off operation I’d do:
and do a rectangular copy/paste from the Name column:
to a text editor and convert it to a command
and then import after replacing all instances of
ENGINE=InnoDBwithENGINE=MyISAMin DUMP.sqlIf you want to avoid the rectangular copy/paste magic you can do something like:
which will return
countries foo3 foo5 lol people