Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dovidezra/44e4b3cc546fa2913cf200e34fa5da02 to your computer and use it in GitHub Desktop.
Save dovidezra/44e4b3cc546fa2913cf200e34fa5da02 to your computer and use it in GitHub Desktop.
Converting an Existing Table to Innodb
ALTER TABLE table_name ENGINE=InnoDB;
@dovidezra
Copy link
Author

ALTER TABLE wp_commentmeta ENGINE=InnoDB;
ALTER TABLE wp_comments ENGINE=InnoDB;
ALTER TABLE wp_links ENGINE=InnoDB;
ALTER TABLE wp_options ENGINE=InnoDB;
ALTER TABLE wp_postmeta ENGINE=InnoDB;
ALTER TABLE wp_posts ENGINE=InnoDB;
ALTER TABLE wp_termmeta ENGINE=InnoDB;
ALTER TABLE wp_terms ENGINE=InnoDB;
ALTER TABLE wp_term_relationships ENGINE=InnoDB;
ALTER TABLE wp_term_taxonomy ENGINE=InnoDB;
ALTER TABLE wp_usermeta ENGINE=InnoDB;
ALTER TABLE wp_users ENGINE=InnoDB;
ALTER TABLE wp_smush_dir_images ENGINE=InnoDB;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment