Skip to content

Instantly share code, notes, and snippets.

@jordic
Created May 15, 2014 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordic/f8323bab3a7ca9f420ea to your computer and use it in GitHub Desktop.
Save jordic/f8323bab3a7ca9f420ea to your computer and use it in GitHub Desktop.
### Convert tables from innodb to myisam
SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=MyISAM;') FROM information_schema.tables WHERE engine = 'InnoDB' and table_schema = 'NOMBRE_DB';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment