[不指定 2015/03/08 10:31 | by 孤城浪子 ]
| |
把所有INNODB表转换成MYISAM表的脚本

mysql -N -s information_schema -e "SELECT CONCAT('ALTER TABLE ',TABLE_NAME,' ENGINE=MYISAM;') FROM TABLES WHERE TABLE_SCHEMA='static' AND ENGINE='INNODB'" | mysql static
Tags:
服务器设置 | 评论(0) | 引用(0) | 阅读(5452)
 
发表评论
   
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]