MySQL.1033:,Incorrect,information,in,file:,’.frm’
2008-02-14 09:46
344 查看
MySQL返回信息: 1033: Incorrect information in file: ’***.frm’【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
今天突然发现部分表不能打开了,并提示如上信息。数据库目录里丢失了 .myd .myi 文件,只剩下了个对应的.frm文件。找不到了!【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
以为是普通的表损坏故障,但是所有的修复方法都不管用。【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
经过仔细排查,原来是一个疏忽了的小问题:数据库中大部分表都是 MyISAM引擎的,而新建的表默认是用的InnoDB引擎,本来是没有问题的,用InnoDB也可以正常运行,只是今天在对数据库配置文件my.ini优化时顺手关掉了 InnoDB 引擎,因为根本不打算用InnoDB引擎。【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
所以导致打不开这个默认使用InnoDB引擎的表,开启InnoDB引擎后该表恢复正常。【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
因为InnoDB的数据单独存储,和MyISAM的存储方式不同,所以也就导致找不到.myd .myi文件了。
【本文来自聊城门户网www.Lc365.net】
今天突然发现部分表不能打开了,并提示如上信息。数据库目录里丢失了 .myd .myi 文件,只剩下了个对应的.frm文件。找不到了!【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
以为是普通的表损坏故障,但是所有的修复方法都不管用。【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
经过仔细排查,原来是一个疏忽了的小问题:数据库中大部分表都是 MyISAM引擎的,而新建的表默认是用的InnoDB引擎,本来是没有问题的,用InnoDB也可以正常运行,只是今天在对数据库配置文件my.ini优化时顺手关掉了 InnoDB 引擎,因为根本不打算用InnoDB引擎。【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
所以导致打不开这个默认使用InnoDB引擎的表,开启InnoDB引擎后该表恢复正常。【本文来自聊城门户网www.Lc365.net】
【本文来自聊城门户网www.Lc365.net】
因为InnoDB的数据单独存储,和MyISAM的存储方式不同,所以也就导致找不到.myd .myi文件了。
相关文章推荐
- mysql报错1033 Incorrect information in file: ‘xxx.frm’问题的解决方法
- mysql无法启动——Incorrect information in file: './mysql/user.frm'
- MySQL修改my.ini后,出现错误:Incorrect information in file: './xx/xx.frm
- flush privileges;的时候error 1033 (hy000) incorrect information in file: './mysql/table_priv.frm'
- 1033 incorrect information in file: './lxbd_db_00/t_longxibendi_info_00_1.frm'
- ERROR 1033: Incorrect information in file: './qs_52_table/qs_member_table.frm' mysql数据库迁移
- MYSQL 的错误Incorrect information in file: '.\test\stuff.frm
- ERROR 1033 (HY000): Incorrect information in file: 'abc.frm' 问题解决
- Incorrect information in file xxxx.frm - MySQL错误
- mysql Incorrect information in file 错误解决方法数据库为innodb
- mysql Incorrect information in file 错误解决方法数据库为innodb
- MySQL ERROR 1033 (HY000): Incorrect information in file. 处理一例
- Incorrect information in file
- get information form page and make them stored in a local txt file
- @RequestParam注解使用:Name for argument type [java.lang.String] not available, and parameter name information not found in class file either.
- SQL Script for read information from a csv file in FTP Server
- fatal: incorrect checksum in control file
- 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 ...
- Referenced file contains errors (http://www.springframework.org/schema/context). For more information, right click on the message in the Problems
- (对Web.config文件加密)encrypting sensitive information stored in the web.config file