Mysql错误Cannot find or open table x/x from the internal问题

编程学习 2021-07-05 15:27www.dzhlxh.cn编程入门
这篇文章主要介绍了Mysql错误Cannot find or open table x/x from the internal问题解决方法,需要的朋友可以参考下

网站事件日志出现了这个错误:

事件类型: 错误
事件来源: MySQL
事件种类: 无
事件 ID: 100
日期:  2012-8-14
事件:  8:07:59
用户:  N/A
计算机: abcserver
描述:

代码如下:
Cannot find or open table phpwind/pw_zhuanti 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.
For more information, see Help and Support Center at http://www.mysql.com.

但是查了一下,并没有这个表啊。这个的错误的意思大概是某表已经删除了,但是.frm文件还存在,所以会造成读取错误等等。

于是服务器上找了一下,在mysql数据存储文件夹,找到了pw_zhuanti.frm文件,删除,之后解决了,再也没有出现过这个问题了。

Copyright © 2016-2025 www.dzhlxh.cn 金源码 版权所有 Power by

网站模板下载|网络推广|微博营销|seo优化|视频营销|网络营销|微信营销|网站建设|织梦模板|小程序模板