Created
March 22, 2016 16:20
-
-
Save wiesson/685f66f32ef63a3ead91 to your computer and use it in GitHub Desktop.
Covert all tables to innodb;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT CONCAT('ALTER TABLE ', TABLE_SCHEMA, '.', TABLE_NAME, ' engine=InnoDB;') FROM information_schema.TABLES WHERE ENGINE = 'MyISAM'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment