First run this query replacing databasetoconvert with the database name you want to convert
SELECT CONCAT('ALTER TABLE ', table_name, ' ENGINE=InnoDB;') AS sql_statements FROM information_schema.tables AS tb WHERE table_schema = 'databasetoconvert' AND `ENGINE` = 'MyISAM' AND `TABLE_TYPE` = 'BASE TABLE' ORDER BY table_name DESC LIMIT 0, 10000 ; |
then copy the output and run it again against the database you want to convert