How do I convert database tables to InnoDB?

Open PHPMyAdmin, select your database, and choose the "SQL" tab. Then run the following command (replacing INSERT_DB_NAME_HERE with your database name):

SELECT  CONCAT('ALTER TABLE `', table_name, '` ENGINE=InnoDB;') AS sql_statements
FROM    information_schema.tables AS tb
WHERE   table_schema = @DATABASE_NAME
ORDER BY table_name DESC;

This will provide you with a list of SQL statements to execute, such as:

Copy those statements, hit the "SQL" tab again, and paste/run the queries to update the engine type on the selected tables.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.