mysql - cannot open table after copying database -
i copied database folder old backups new mysql install today. can see database available after restarted mysql cannot connect of tables. following error. checked link cannot ideas fix issue. there step missed after copied database folder?
> 2016-08-23t21:31:06.754512z 10 [warning] innodb: cannot open table dbtorontotrader/rawdatas internal data dictionary of innodb though .frm file table exists. please refer http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html how resolve issue. 2016-08-23t21:31:26.125763z 8 [warning] innodb: cannot open table dbtorontotrader/amibrokerscans internal data dictionary of innodb though .frm file table exists. please refer http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html how resolve issue.
update: have data files old db mysql5.5 , copying them new mysql db mysql 5.7 ran mysqlcheck , can see errors. how can fix them?
c:\program files\mysql\mysql server 5.7\bin>mysqlcheck -u root -p --auto-repair --check --all-databases got following. how can 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 "repair table `ib`" or dump/reload fix it! dbtorontotrader.mb error : table upgrade required. please "repair table `mb`" or dump/reload fix it! dbtorontotrader.mlsstats error : table 'dbtorontotrader.mlsstats' doesn't exist status : operation failed
i found sqldumps , rebuilt database
Comments
Post a Comment