检查表
check table table_name;
如果有问题就修复
repair table table_name;
check table table_name;
如果有问题就修复
repair table table_name;
解决方案 »
- MYSQL中可以DML语言混合使用么?例如update语句后面添加select
- 一个简单的 mysql 触发器
- 烧香求:MYSQL安装出现could not start the service mysql error:0
- VC中通过MYSQL C API调用返回结果集的存储过程失败,见内
- mysql cursor中异常处理
- 如何取得某字段的最大值并把它用在insert中?
- 100分求助关于mysql关联的问题 在线等++++++ 全是加号
- 寻求EMS Mysql Manager注册码. 谢谢
- mysql实现数据转置
- mysql实时同步redis
- 如何写这个SQL文?
- 安装myodbc3.51 驱动后,测试无法连接本地 MYSQL SERVER
可是,我在Query Editor中运行check table Exercise.history,结果是:
Table Op Msg_type Msg_text
exercise.history check status OK运行repair table Exercise.history,结果是:Table Op Msg_type Msg_text
exercise.history repair error 13 for record at pos41323
exercise.history repair error Can't copy datafile-header to tempfile,error9
exercise.history repair status Operation failed然后,这个表打不开了。用TableManager,一个栏位都没有
用query data,出错提示:An error ocurred while sending the command to the Server.Server Error Message:
"Can't open file:'history.MYD'.(errno:144)".另外,我不是哪一个表出我在以楼说的这种情况,而是所有的表。可以新增表,第一个栏位在新增表的时候一并设置,有。但是再新增栏位或者修改这第一个栏位,还是一样出错。大概不是某个文件的问题,是Server的问题吧?