免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3243 | 回复: 0
打印 上一主题 下一主题

innodb表丢失的问题请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-08-08 09:14 |只看该作者 |倒序浏览
我mysql使用的是5.1.35,使用了独享表空间,每个表的.frm和.ibd文件都在,在命令行中执行show databases;和show tables;的时候都能列出库名和表名,可是我select表的时候,提示说表不存在
mysql> show tables;
+-----------------+
| Tables_in_crm    |
+-----------------+
| banss                |
+-----------------+
12 rows in set (0.00 sec)

mysql> select * from banss;
ERROR 1146 (42S02): Table 'crm.banss' doesn't exist

我只是显示你一个表,其他库和表都是这样,下面列出错误日志中的记录
100807 18:00:00 [ERROR] Cannot find or open table crm/banss from
the internal data dictionary of InnoDB though the .frm file for the
table exists. Maybe you have deleted and recreated InnoDB data
files but have forgotten to delete the corresponding .frm files
of InnoDB tables, or you have moved .frm files to another database?
or, the table contains indexes that this version of the engine
doesn't support.
See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
how you can resolve the problem.

请大家帮我,教我怎么弄,步骤,谢谢!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP