Created
January 31, 2013 19:25
-
-
Save d3zorg/4685621 to your computer and use it in GitHub Desktop.
Convert from MySQL MyISAM to InnoDB tables
This file contains 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_name, ' ENGINE=InnoDB;') as ExecuteTheseSQLCommands | |
FROM information_schema.tables WHERE table_schema = 'name_of_your_db' | |
ORDER BY table_name DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment