Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save NorthTexasCreative/8a6ccc74784279101ab8dd7f252aba80 to your computer and use it in GitHub Desktop.

Select an option

Save NorthTexasCreative/8a6ccc74784279101ab8dd7f252aba80 to your computer and use it in GitHub Desktop.
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