I want to change engine type from MyISAM to InnoDB. What I Did: Method 1:
- Copy table structure in a new database.
- Change table engine from MyISAM to InnoDB.
- Export data from existing table (MyISAM).
- Import data in a new table (InnoDB).

Here, I can see the total rows of a table and the size of the table. But not see any record on browse.
Method 2:
Copy table structure in a new database.
Export data from the existing database.
- Import data in a new database.
- Change table engine from MyISAM to InnoDB.

Here, I notice after change engine type many records are deleted. In customer table imported records are 310749 after change engine type, I see only 243898, loss total 66851 records.
What is wrong with this? Any other way to change the type from MyISAM to InnoDB without loss data.