Mysql – What’s the safest way to convert table with InnoDB to MyISAM

innodbmyisamMySQL

My database is currently using the InnoDB engine. Now I want to add the fulltext search feature, which is why I want to convert my tables to MyISAM. But doing so breaks all foreign keys. How can I change my table engines to MyISAM safely?

How can I use SELECT…JOIN after I change my tables to the MyISAM engine?

ALTER TABLE jobs ENGINE = MyISAM;
Cannot delete or update a parent row: a foreign key constraint fails

Best Answer

I'd recommend you to do a dump of the db, change all the text from that file from InnoDB to MyISAM, then load the modified file