First of all: mysqldump is not converting tables. It is something else. Here is the story:
One of my clients had a case when they were migrating to a new
mysql server: they used mysqldump to export data from the old
server (all InnoDB) and imported it to the new server. When
finished, all the tables became MyISAM on the new server. So they
asked me this question:
“Why mysqldump is converting my tables from InnoDB to
MyISAM?”
First of all we made sure that the tables are InnoDB on the old
server. It was true.
Second we run “show engines” on the new server:
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints
|
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| …