2016-08-23 10 views
0

古いバックアップから新しいMySQLインストールにデータベースフォルダをコピーしました。 MySQLを再起動してもデータベースが利用可能であることがわかりますが、いずれのテーブルにも接続できません。 次のエラーが発生します。私はリンクをチェックしましたが、私の問題を解決するためのアイデアは得られません。データベースフォルダをコピーした後に私が見逃したステップはありますか?データベースをコピーした後でテーブルを開くことができません

> 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. 

アップデート:私はmysql5.5だった私の古いDBからデータファイルを持っていると私はmysqlcheckのを走ったと私はエラーを見ることができるのMySQL 5.7 ある新しいMySQL DBにコピーしています。どうすれば修正できますか?

C:\Program Files\MySQL\MySQL Server 5.7\bin>mysqlcheck -u root -p --auto-repair --check --all-databases 
I got the following. how can I fix it? 
enter code here 

dbtorontotrader.amibrokerscans 
Error : Table 'dbtorontotrader.amibrokerscans' doesn't exist 
status : Operation failed 
dbtorontotrader.backtest 
Error : Table 'dbtorontotrader.backtest' doesn't exist 
status : Operation failed 
dbtorontotrader.customqueries 
Error : Table 'dbtorontotrader.customqueries' doesn't exist 
status : Operation failed 
dbtorontotrader.davealerts 
Error : Table 'dbtorontotrader.davealerts' doesn't exist 
status : Operation failed 
dbtorontotrader.davetrades 
Error : Table 'dbtorontotrader.davetrades' doesn't exist 
status : Operation failed 
dbtorontotrader.executions 
Error : Table 'dbtorontotrader.executions' doesn't exist 
status : Operation failed 
dbtorontotrader.ib 
error : Table upgrade required. Please do "REPAIR TABLE `ib`" or dump/reload to fix it! 
dbtorontotrader.mb 
error : Table upgrade required. Please do "REPAIR TABLE `mb`" or dump/reload to fix it! 
dbtorontotrader.mlsstats 
Error : Table 'dbtorontotrader.mlsstats' doesn't exist 
status : Operation failed 
+0

を再構築。それはまだ選択肢ですか? –

+0

CHECK TABLEを使用して問題がないか、またはテーブルが壊れているかどうかを確認できます。 http://dev.mysql.com/doc/refman/5.7/en/check-table.html – macco

+0

バックアップから復元した後に破損しているようです。 – vbdevelp

答えて

0

私はsqldumpsを発見し、それはあなたの古いDBSのmysqldumpの操作を行い、その後、新しいサーバーでそれらを再構築するために、おそらく良いでしょうデータベース

関連する問題