mysql 修改栏位失败

伊丽莎白S 2005-07-01 10:59:02
我是mysql盲

也没有做什么动作,突然,当我要增加一个栏位到一个表或者修改一个栏位保存的时候,却说:

Error on rename of'.\exercise\history.MYI'to'.\exercise\#sql2-5dc-33.MYI'(Errcode:13)

请问这个问题要怎么解决?

我的mysql是4.0,DBTools 1.0.12

在线等,谢谢!
...全文
105 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
伊丽莎白S 2005-07-01
  • 打赏
  • 举报
回复
谢谢楼上。
可是,我在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的问题吧?
mathematician 2005-07-01
  • 打赏
  • 举报
回复
检查表
check table table_name;
如果有问题就修复
repair table table_name;

56,677

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧