Mysql InnoDB:找不到';的有效表空间文件;表';?

Mysql InnoDB:找不到';的有效表空间文件;表';?,mysql,wampserver,Mysql,Wampserver,我有一些由wampp服务器托管的项目,它过去可以正常工作 本周,它不能再提供服务了,检查mysql日志,我得到以下几行: 2019-12-05 08:23:00 1464 InnoDB: Operating system error number 3 in a file operation. InnoDB: The error means the system cannot find the path specified. InnoDB: If you are installing InnoD

我有一些由wampp服务器托管的项目,它过去可以正常工作

本周,它不能再提供服务了,检查mysql日志,我得到以下几行:

2019-12-05 08:23:00 1464  InnoDB: Operating system error number 3 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
 2019-12-05 08:23:00 5320 [ERROR] InnoDB: Could not find a valid tablespace file for 'wordpressdev/b2s_post_sched_settings'. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
 2019-12-05 08:23:00 5320 [ERROR] InnoDB: Tablespace open failed for '"wordpressdev"."b2s_post_sched_settings"', ignored.
我该怎么修理

更新 我发现,这个错误是因为我从mysql的数据目录中移出了wordpressdev文件夹。 将其放回后,错误B更改为:

2019-12-06 08:44:04 8084 [Note] InnoDB: Highest supported file format is Barracuda.
2019-12-06 08:44:04 1fb4  InnoDB: Operating system error number 5 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory. It may also be you have created a subdirectory
InnoDB: of the same name as a data file.
2019-12-06 08:44:04 8084 [ERROR] InnoDB: Could not find a valid tablespace file for 'wordpressdev/b2s_posts'. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
2019-12-06 08:44:04 8084 [ERROR] InnoDB: Tablespace open failed for '"wordpressdev"."b2s_posts"', ignored.

通过谷歌搜索,我发现我需要为用户授予对数据文件夹的完全访问权限,我这样做了,但问题仍然存在,windows隐私几乎从来都不是问题。听起来更有可能是您删除或损坏了
\wamp\bin\mysql\mysqlx.y.z\data\ibdata1
文件