复制数据库后无法打开表

时间:2016-08-23 22:00:55

标签: mysql

我今天将数据库文件夹从旧备份复制到新的MySQL安装。我可以看到在重新启动MySQL之后数据库可用但我无法连接到任何表。 我收到以下错误。我检查了链接,但无法解决我的问题。复制数据库文件夹后,我有什么步骤错过了吗?

getView('MyNewView').getURL()+"/submitDescription...";

更新:我只有来自我的旧数据库的数据文件,这是mysql5.5,我将它们复制到新的MySQL数据库,即MySQL 5.7 我运行了mysqlcheck,我可以看到错误。我怎么修理它们?

> 2016-08-23T21:31:06.754512Z 10 [Warning] InnoDB: Cannot open table dbtorontotrader/rawdatas from the internal data dictionary of InnoDB though the .frm file for the table exists. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html for how to resolve the issue.
2016-08-23T21:31:26.125763Z 8 [Warning] InnoDB: Cannot open table dbtorontotrader/amibrokerscans from the internal data dictionary of InnoDB though the .frm file for the table exists. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html for how to resolve the issue.

1 个答案:

答案 0 :(得分:0)

我找到了sqldumps并重建了数据库