Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT CONCAT( 'ALTER TABLE ', TABLE_NAME, ' ENGINE=InnoDB;' )
FROM INFORMATION_SCHEMA.TABLES
WHERE ENGINE = 'MyISAM'
AND table_schema = 'database-name-here';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment