mysql 直接把数据库文件复制到另一台电脑上,报错 Cannot find or open table si

MySql 码拜 8年前 (2016-02-07) 1161次浏览
Cannot find or open table sikerul/sikerul_doctor from
the internal data dictionary of InnoDB though the .frm file for the
table exists. Maybe you have deleted and recreated InnoDB data
files but have forgotten to delete the corresponding .frm files
of InnoDB tables, or you have moved .frm files to another database?
or, the table contains indexes that this version of the engine
doesn”t support.
See http://dev.mysql.com/doc/refman/5.5/en/innodb-troubleshooting.html
how you can resolve the problem.
160428  9:16:31 [ERROR] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Incorrect information in file: “.\sikerul\sikerul_hospital.frm”
解决方案

5

你要看 C:\Program Files\MySQL\MySQL Server 5.5 这个下面有没有 \sikerul\sikerul_hospital.frm 这个文件,你拷贝文件的时候有没有拷全

5

你的文件是都拷贝过去了嘛? 上面报的错说的是少了 这个问题就 \sikerul\sikerul_hospital.frm
而这种文件 是表的结构文件。

10

ibdata1 文件有没有复制过去?

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明mysql 直接把数据库文件复制到另一台电脑上,报错 Cannot find or open table si
喜欢 (1)
[1034331897@qq.com]
分享 (0)