Skip to content

Instantly share code, notes, and snippets.

@royce002
Created July 31, 2017 17:00
Show Gist options
  • Save royce002/1894c65e44335d4bb3d069572178ad0b to your computer and use it in GitHub Desktop.
Save royce002/1894c65e44335d4bb3d069572178ad0b to your computer and use it in GitHub Desktop.
MySql Script to Move To Inno
SELECT CONCAT('ALTER TABLE ',TABLE_NAME,' ENGINE=InnoDB;')
FROM INFORMATION_SCHEMA.TABLES
WHERE ENGINE='MyISAM'
AND table_schema = 'mydatabase';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment