Converting from InnoDB tables to innodb_file_per_table I run MySQL and I have 7 schemas, 6 of the 7 schemas are MyISAM.

In one of my schemas I have 20 tables that are InnoDB, the rest are MyISAM. 

I really want to convert those 20 tables over to file_per_table. 

I read some old documentation on how to do this, but I'm wondering if this approach will work. 


Export the foreign keys off the 20 tables.
Drop the foreign keys.
Convert the tables to MyISAM.
Stop MySQL.
Change the my.cnf/ini to put MySQL in innodb_file_per_table mode.
Delete the idbdata files.
Start MySQL.
Switch those tables back to InnoDB (which should be in file mode now).
Re-apply the foreign keys.


Am I missing any steps? Or am I making a mistake somewhere?
The process you mentioned works fine but it takes much amount of time if the tables are bigger  in size 
Here the way you can do it quickly .but it requires some down time depends on the table size .


Take the full backup of 20 tables that are InnoDB.
Drop those 20  tables that are InnoDB
Stop mysql 
Delete the ibdata files
Start the mysql services with  innodb_file_per_table=1 in my.cnf
Restore those 20  tables that are InnoDB with taken backup.