西部数码主机 | 阿里云主机| 虚拟主机 | 服务器 | 返回乐道官网
当前位置: 主页 > php教程 > wordpress教程 >

转换wordpress表 Mysql存储引擎InnoDB与MYISAM

时间:2016-01-05 19:05来源:未知 作者:好模板 点击:
wordpressMysql存储引擎 InnoDB-MyISAM ALTER TABLE wp_commentmeta ENGINE=MYISAM;ALTER TABLE wp_comments ENGINE=MYISAM;ALTER TABLE wp_links ENGINE=MYISAM;ALTER TABLE wp_options ENGINE=MYISAM;ALTER TABLE wp_postmeta ENGINE=MYISAM;ALTER TABL

wordpress Mysql存储引擎 InnoDB ->MyISAM

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

wordpress Mysql存储引擎MyISAM ->InnoDB

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_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 table_name ENGINE=YOUR_CHOICE;
(责任编辑:好模板)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
栏目列表
热点内容