Incorrect information in file xxxx.frm - MySQL错误
2008-02-14 09:46
639 查看
这个错误并不一定表示这个表的数据或者文件损坏了。
如果是innodb表的话,查看一下
show variables like ’hav%’;
看看have_innodb是不是YES,如果变成NO了,到错误日志里去找原因。
比如我发现:
InnoDB: Error: log file ./ib_logfile0 is of different size 0 209715200 bytes
是我的my.cnf中innodb_log_file_size的值与当前实际的文件大小不一致,结果innodb引擎就被skip了,导致上述错误。
Incorrect information in file xxxx.frm这个错误多少有些不友好,害得我又重新复制一偏测试数据,又得好几个小时。
如果是innodb表的话,查看一下
show variables like ’hav%’;
看看have_innodb是不是YES,如果变成NO了,到错误日志里去找原因。
比如我发现:
InnoDB: Error: log file ./ib_logfile0 is of different size 0 209715200 bytes
是我的my.cnf中innodb_log_file_size的值与当前实际的文件大小不一致,结果innodb引擎就被skip了,导致上述错误。
Incorrect information in file xxxx.frm这个错误多少有些不友好,害得我又重新复制一偏测试数据,又得好几个小时。
相关文章推荐
- MYSQL 的错误Incorrect information in file: '.\test\stuff.frm
- MySQL修改my.ini后,出现错误:Incorrect information in file: './xx/xx.frm
- mysql Incorrect information in file 错误解决方法数据库为innodb
- flush privileges;的时候error 1033 (hy000) incorrect information in file: './mysql/table_priv.frm'
- mysql Incorrect information in file 错误解决方法数据库为innodb
- mysql无法启动——Incorrect information in file: './mysql/user.frm'
- MySQL.1033:,Incorrect,information,in,file:,’.frm’
- ERROR 1033: Incorrect information in file: './qs_52_table/qs_member_table.frm' mysql数据库迁移
- ERROR 1033 (HY000): Incorrect information in file: 'abc.frm' 问题解决
- mysql报错1033 Incorrect information in file: ‘xxx.frm’问题的解决方法
- 1033 incorrect information in file: './lxbd_db_00/t_longxibendi_info_00_1.frm'
- Mysql主从库不同步1236错误:could not find first log file name in binary....
- PHP关于syntax error语法错误的问题(Parse error: syntax error, unexpected end of file in xxxxxxxx)
- MySQL错误Incorrect file format解决方案
- XML错误信息Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd). For more information, right click on the message in the Problems View ...
- MySQL 错误Incorrect key file for table ******.MYI; try to repair it的解决
- 解决MAC下PHP连接MYSQL错误Warning: mysql_connect(): No such file or directory in conn.php
- mysql 出现错误Incorrect file format
- Incorrect information in file
- Can't find file: './mysql/plugin.frm' (errno: 13)[mysql数据目录迁移错位]错误解决