wordpress因为非正常删除插件,或是删除不彻底,就会导致有部分加入Mysql当中的表残留。而这些残留下来的表,就会导致Mysql报错。虽然在网站前端并不会显示出错误来,但在会在Mysql日志当中频繁显示,也会拉底Mysql执行的效率。
一般会提示如类似以下这样的表单错误:
[Warning] InnoDB: Cannot open table 数据库名/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
这里的wp_downloads就是报错的数据库表名
那么要如果去掉这样的错误呢?
其实方法也很简单:
可以通过PHPmyadmin去管理数据库,然后,在PHPmyadmin当中执行如下语句:
步骤:
1,找到数据库,并点击一下数据库名称。
2,选择SQL语句。
3,把以下语句复制进去。(具体要删除哪个表,就在后面填写表名)
drop table if exists wp_downloads
4,点击右下角的“执行”,在弹出的对话框上面点击“确定”即可。
如果多条这种错误,就依次执行这个操作。或是,先在本地文本文件当中编辑好,再复制进去。
你学会了吗? @_*
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第1张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第1张-泥人传说](https://nrcs.xyz/wp-content/uploads/2025/08/ORG-ads-1.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第2张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](https://nrcs.xyz/wp-content/uploads/2023/09/e4165-2023-09-28_102533.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第3张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](https://nrcs.xyz/wp-content/uploads/2023/09/1e91c-2023-09-28_102533-1.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](https://nrcs.xyz/wp-content/uploads/2025/08/ORG-ads.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](/wp-content/uploads/2024/11/2024-11-15_025459.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](/wp-content/uploads/2024/04/hongxing.jpg)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第4张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第4张-泥人传说](https://www.gaofumei.net/wp-content/uploads/2025/08/qingwa-gg.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第6张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](https://nrcs.xyz/wp-content/uploads/2023/09/45a3f-2023-09-28_105219.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第7张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第7张-泥人传说](https://nrcs.xyz/wp-content/uploads/2025/08/hongxing-gg.jpg)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第8张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](https://nrcs.xyz/wp-content/uploads/2023/09/a5177-2023-09-28_105459.png)
![Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法 WEB技术 第9张-泥人传说 Mysql innodb 系统表损坏带来的问题[Warning] InnoDB: Cannot open table XXX/wp_downloads from the internal data dictionary of InnoDB though the .frm file for the table exists. 终极解决办法](https://nrcs.xyz/wp-content/uploads/2023/09/78734-2023-09-28_105546.png)





评论