简体   繁体   English

当'修复表'查询在mysql中不起作用时该怎么办?

[英]what to do when ' repair table ' query won't work in mysql?

i got this error : "The storage engine for the table doesn't support repair" 我收到此错误:“表的存储引擎不支持修复”

when i tried to repair the table using the query repair table tbl_college_master 当我尝试使用查询repair table tbl_college_master

table is of innodb type, but i dont know y i'm getting this error? 表是innodb类型,但我不知道我收到此错误?

See the manualREPAIR TABLE is only applicable to MyISAM, ARCHIVE and CSV storage engines. 请参阅手册 - REPAIR TABLE仅适用于MyISAM,ARCHIVE和CSV存储引擎。

With InnoDB you don't need this anyway, as the storage engine can't go into an inconsistent state unlike MyISAM and others. 使用InnoDB,无论如何都不需要这样,因为存储引擎不能像MyISAM和其他人那样进入不一致的状态。

I think you should try mysql repair tool . 我想你应该试试mysql修复工具 . . it's a great tool that can repair any type of mysql data or table containing any data. 它是一个很棒的工具,可以修复任何类型的mysql数据或包含任何数据的表。 and i am sure that it will definetely repair the table using the query repair table tbl_college_master. 并且我确信它将使用查询修复表tbl_college_master来定义修复表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM