5 Methods to Fix MySQL ERROR 1033 - 'Incorrect Information in File' Error (2026 Guide)

info-icon Our content follows trusted Editorial Standards - accurate & unbiased.

Table of Contents


Many of the MySQL users have reported encountering the “Incorrect information in file” error when restarting the MySQL Server after a crash. The complete error message appears as:

ERROR 1033 (HY000): Incorrect information in file: './database_name/table_name.frm'

It usually appears when InnoDB recovery fails after a system restart. It indicates that MySQL cannot correctly interpret or validate the table metadata or storage engine information. It occurs when it fails to read the data in table’s .frm descriptor file. This error occurs for specific reasons, depending on the scenario.

Example 1: StackOverflow – Reboot & Port Conflict

A MySQL Server running on CentOS 6 was rebooted after slowdown issues. During startup, InnoDB attempted crash recovery and began rolling back uncommitted transactions. The logs then reported:

ERROR /usr/libexec/mysqld: Incorrect information in file: './empire/member_list.frm'

This indicates corruption in the member_list.frm table definition. At the same time, the server failed to start because another MySQL daemon was already bound to port 3306, causing a port conflict.

Example 2: Forum: Log File Size Mismatch

Experienced MySQL Error 1033 during replication between master and slave servers due to an inconsistency. This problem mainly occurred when the innodb_log_file_size in the slave’s configuration file known as my.cnf, did not match the actual log files copied from the master. This results in InnoDB initialization failure. So when trying to access tables, it causes the error.

What is MySQL ERROR 1033 'Incorrect Information in File'?

MySQL ERROR 1033 ("Incorrect Information in File") occurs on server‑side storage engine due to damaged table files. In older versions of MySQL (prior to 5.6), it is associated with corruption or mismatch in .frm (table definition), .MYD (data), or .MYI (index) files, affecting both InnoDB and MyISAM tables. However, in MySQL 8.0 and later, .frm files have been removed and replaced with data dictionary. So, the error now occurs due to metadata corruption or upgrade mismatches within this dictionary.

You can even face this MySQL error in tools, like phpMyAdmin, MySQL Workbench, or mysqldump, while trying to access or creating backup/exporting a corrupted table. But these tools do not cause the error.

Common Causes of MySQL ERROR 1033 (HYOOO): 'Incorrect Information in File'

This error can occur due to one of reasons below:

  • Corruption in MySQL database/tables
  • MyISAM (Index (.MYI) files are corrupted
  • Lack of permissions to read/write the database files
  • Issues in configuration file
  • Corruption in Data Dictionary files (in MySQL newer versions)
  • Your system has shutdown abnormally due to power outage, OS crash, or forced kill (kill -9) during a write operation
  • File system corruption has damaged MySQL data directory integrity
  • Modifying .frm, .MYD, or .MYI files outside of MySQL without stopping the server
  • Restoring an .frm file from a different MySQL version where the .frm format has changed

How to Identify which Storage Engine is Affected (MyISAM or InnoDB)?

To fix MySQL error 1033, you have to first identify whether the table uses MyISAM or InnoDB storage engine. Since the repair commands are engine‑specific, running the wrong command won’t help — and might even damage the table further. That’s why confirming the engine first is the most important step in recovery.

You can run the below command in MySQL to check the engine of the MySQL table.

SHOW TABLE STATUS WHERE Name = 'employees';

Methods to Fix the MySQL 'Incorrect Information in File' Error

The correct fix for ERROR 1033 depends on whether the table (on which you're facing error) uses the MyISAM or InnoDB storage engine. Methods 1–3 apply only to MyISAM tables. Method 4 is used for InnoDB tables when the issue is caused by a misconfiguration in my.cnf. Method 5 (Stellar Repair for MySQL) works for both storage engines and is recommended when the manual methods fail or when data recovery is required.

Follow these five methods to repair corrupted tables and fix the “Incorrect information in file” MySQL error.

Note: If the storage engine of the corrupted table is MyISAM, use Methods 1–3. If the table uses InnoDB, skip to Method 4.

Method 1 – Run the REPAIR Command with use_frm

If you add use_frm command in the REPAIR statement, it means you’re asking the server to reconstruct the index of the table, by ignoring the corrupted index data. It helps to fix corrupt MyISAM tables. Here’s how:

repair table tbl1 use_frm;

tbl1 is the table name in this example; replace it with the actual name of the table you need to repair.

Check the Msg_text column in the result:

status = OK → The repair was successful, and the table is fixed.

status = Table is already up to date → The table is not corrupted; check another table.

status = Error → The .frm file itself may be corrupted; proceed to Method 2.

Method 2 – Drop and Recreate the Corrupt Table

You can also try the drop and recreate method to resolve the 1033 error in MySQL. It forces server to generate a fresh .frm descriptor file while preserving the original data (.MYD) and index (.MYI) files from backup. For this, you should know the exact table structure before recreating it. You can run the below-cited command to do so:

SHOW CREATE TABLE tbl1;
Note: This method works only when the data files are still readable. It works correctly if the issue is limited to broken internal mapping. If .MYD is corrupted, it may not restore tables with integrity.

To drop and recreate the table, follow these steps:

  • Stop the MySQL Server instance.
  • Backup tbl1.FRM (table structure), tbl1.MYD (table data), and tbl1.MYI (indexes) files.
  • Drop tbl1 table.
  • Start the MySQL Server.
  • Use CREATE TABLE statement to recreate the table (i.e., tbl1 in our case).
  • Stop the server once again.
  • Copy the MYD and tbl1.MYI files to the database directory (datadir).
  • Restart the MySQL instance.

If this doesn't help resolve the issue or there's a lot of missing data in the table, skip to the next method.

Method 3 – Correct the Configuration File

In InnoDB tables, the ERROR 1033 can occur when MySQL starts using the configuration file (my.cnf on Linux or my.ini on Windows) where the innodb_data_file_path setting does not match the actual size of the InnoDB system tablespace file (ibdata1) on disk. Because MySQL uses this configuration to map InnoDB data pages, any mismatch can prevent proper initialization and lead to such table access error.

For instance, the my.cnf file has defined the size of the parameters incorrectly. Suppose, the actual ibdata1 file on disk is 4GB, but the configuration specifies a different value, such as 2GB. This mismatch can cause error.

Incorrect configuration:

innodb_data_file_path=ibdata1:2G;ibdata2:50M:autoextend

To resolve this, shut down the MySQL Server and then correct configuration file to match the actual file size:

Correct configuration:

innodb_data_file_path=ibdata1:4G;ibdata2:50M:autoextend

Save the applied changes and restart MySQL. InnoDB now loads the correct tablespace mapping and restores normal database access.

Method 4 – Restore from Backup (MyISAM and InnoDB)

Restoring from a backup is the most reliable fix for MySQL ERROR 1033 (“Incorrect Information in File”), when the underlying table files are too corrupted to repair. You can use this method if you have a valid and readable backup (dump) file or physical backup of the MySQL data directory.

Restore from mysqldump

In MySQL Server, you can use mysqldump - a command-line tool – to create the dump file for backup and reload the dump file using mysql client to restore the MySQL databases. Before performing this process, you can use the SHOW GRANTS statement as given below to ensure you have all permissions:

SHOW GRANTS

    [FOR user_or_role

        [USING role [, role] ...]]

user_or_role: {

    user (see Section 8.2.4, “Specifying Account Names”)

  | role (see Section 8.2.5, “Specifying Role Names”.

}

Now, follow the below instructions to restore the dump file using the mysqldump utility in your system command prompt:

  • In the CMD window, first connect to your MySQL Server by using these commands:

cd C:\Program Files\MySQL\MySQL Server 8.0\bin

mysql -u root –p

Enter password

  • Next, drop and recreate the MySQL database. For this, use the following command:
Mysql>DROP DATABASE hoddep6;

  • This command will drop the selected database and then create a new database.
CREATE DATABASE hoddep6;

  • Once the new database is created, you can use this command to restore the database:

mysql -u root -p db_name < dumpfile.sql

  • After its execution, you can check if the restored database has all the tables. Use the following command:

Mysql> USE hoddep6;

Mysql> SHOW TABLES;

Running SHOW COMMAND

The mysqldump utility only works if the MySQL server is running. It can let you recover corrupt MySQL database. It usually fails to restore a dump file if it contains an InnoDB table with the CREATE TABLESPACE statement.

If your backup was created from the MySQL data directory, you can follow the detailed guide on restoring MySQL databases from the data folder in Windows. If you have a file-level backup of MySQL, see this guide to recover MySQL database from .frm and .ibd files.

If you don't have a backup, using a professional MySQL repair tool can help.

Method 5 – Use a MySQL Repair Tool

When restoring MySQL database from backup is not an option, you can use Stellar Repair for MySQL to repair corrupt MySQL database tables. It can help you repair definition files (.frm), data files (.ibd, .MYD), and index files (.MYI) in corrupted and damaged tables, with no data loss.  It can quickly repair InnoDB/MyISAM tables of all MySQL versions (including the latest MySQL 8.0.26), and also allows you to check whether the recoverable data is correct with its demo version. The tool ensures complete recovery of database objects.

Steps to Repair a MySQL Database using Stellar Repair for MySQL

  • Once you have downloaded and installed the software, launch it.
Stellar Repair for MySQL Dashboard
  • Read the instructions and click OK to proceed.
  • Browse and select the MySQL data folder containing the database you want to repair. Then, click OK.
Browse and Select database
  • Select the database that has the corrupt table and click Repair.
click Repair Option to Repair MySQL Tables using Stellar Repair for MySQL
  • Click OK when presented with the 'Repair Complete' message box.
Click Ok On Repair Complete Message
  • A preview of all the repaired tables and their recoverable data is displayed.
Preview of Repaired Objects in Stellar Repair for MySQL
  • Select all or specific items you want to restore and click Save on the File menu.
  • Choose to save the repaired database to a new MySQL database or other file formats like CSV, HTML, or XLS. Press the Save button.
  • Select the location to save the database and click Save once again.

The repaired database and all the restored tables will be saved at the selected location.

If you’re facing the MySQL “Incorrect Information in File” error, this video demonstrates practical steps to fix it effectively.

Which Fix Should You Use? MySQL ERROR 1033 Decision Table

The table below can help you to select the correct method for your situation:

 

 Scenario

 Recommended Method

If you have .frm file but the .MYI/,MYD is missing

Use Method 1: REPAIR TABLE

Table structure/index is corrupted and require rebuild

Use Method 2: Drop and Recreate

Clean backup available (any engine)

Use Method 3: Restore from Backup

 

Error caused by InnoDB file size or log/ibdata settings in my.cnf do not match actual database files

Use Method 4: Fix my.cnf configuration

Data is critically damaged and built-in MySQL repair tools have failed

Use Method 5: Stellar Repair for MySQ

To Conclude

MySQL Error 1033 (“Incorrect Information in File”) indicates corruption that prevents MySQL from reading table metadata or data files, which can happen due to multiple reasons. Some are incorrect configuration, damaged table files, or file system issues. The repair process depends on the storage engine in use—whether MyISAM or InnoDB—so identifying the engine first is an important task. If you're looking for a reliable MySQL repair that supports both InnoDB and MyISAM tables, use Stellar Repair for MySQL. This tool can restore both MyISAM and InnoDB tables and helps in severe cases, where they are severely corrupted, and a backup is not available.



Was this article helpful?
FAQs
No. For MyISAM tables, this error occurs due corrupt .frm descriptor file that no longer matches the .MYD (data) or .MYI (index) files —due to an ungraceful shutdown or corruption. For InnoDB tables, the error is more commonly caused by a mismatch in configuration files. Even the repair approach is different for each engine.
Yes, but it only works to repair MyISAM tables. The REPAIR TABLE rebuilds the .MYI index file using the .frm file. Also, it is the fastest fix for most MyISAM corruption cases. It does not work on InnoDB tables.
It depends on the method you’re trying to fix the error. REPAIR TABLE is safe as it rebuilds the index file without modifying the data file (.MYD). However, it may not work on InnoDB tables and also does not work, if the tables are highly corrupted. Stellar Repair for MySQL reads the source files without modifying them and saves recovered data to a new location, so the original files are always preserved.
For InnoDB tables, the most common fix is to correct the innodb_data_file_path setting in the my.cnf (Linux) or my.ini (Windows) configuration file. This helps to check and match the actual size of the ibdata1 file on disk. If it fails, then use Stellar Repair for MySQL to repair InnoDB table with complete integrity.
Yes. The tool can recover data directly from corrupt InnoDB (.ibd tablespace files and the shared ibdata1 file), without requiring any backup. It scans the MySQL data files at the page level and reconstructs the table structures.
.frm is a table definition file in MySQL to store structure of the table. It is automatically created whenever you create a table in MySQL versions before 8.0. The server uses this file to interpret the structure of table. If due to any reason, this file gets corrupted or mismatched with the actual data files, you may encounter the error 1033.
Yes, you can face this issue in replication setups in MySQL. It usually occurs when the configuration files on slave are different from master.
  • Keep master and slave configurations consistent.
  • Avoid manual file manipulation.
  • Always shut down MySQL cleanly.
  • Make sure you have privileges on the affected tables:

SELECT

INSERT

UPDATE

DELETE

ALTER

Yes. If you do not have sufficient privileges to tables, the server may return the Error 1033 when attempting to access .frm files.
About The Author
author image
Monika Dadool linkdin Icon

Monika Dadool is a Senior Content Writer at Stellar with over 5 years of experience in technical writing.

WHY STELLAR® IS GLOBAL LEADER

Why Choose Stellar?
  • 0M+

    Customers

  • 0+

    Years of Excellence

  • 0+

    R&D Engineers

  • 0+

    Countries

  • 0+

    PARTNERS

  • 0+

    Awards Received

BitRaser With 30 Years of Excellence
Technology You Can Trust
Data Care Experts since 1993
google-trust
×
{ "@context": "https://schema.org", "@type": "HowTo", "name": "How to Fix the MySQL 'Incorrect Information in File' Error (ERROR 1033)", "description": "Learn how to fix MySQL ERROR 1033 ('Incorrect Information in File') caused by corrupted MyISAM or InnoDB tables. Follow proven methods including REPAIR TABLE, recreating tables, correcting MySQL configuration, restoring from backup, and using Stellar Repair for MySQL.", "supply": [ { "@type": "HowToSupply", "name": "MySQL Server" }, { "@type": "HowToSupply", "name": "Database Backup (Optional)" }, { "@type": "HowToSupply", "name": "Stellar Repair for MySQL (Optional)" } ], "tool": [ { "@type": "HowToTool", "name": "MySQL Command Line Client" }, { "@type": "HowToTool", "name": "mysqldump Utility" }, { "@type": "HowToTool", "name": "Text Editor (for my.cnf/my.ini)" } ], "step": [ { "@type": "HowToStep", "name": "Repair the MyISAM Table Using REPAIR TABLE", "text": "Run the REPAIR TABLE command with the use_frm option to rebuild the table index and repair corruption.", "url": "#method-1", "itemListElement": [ { "@type": "HowToDirection", "text": "Open MySQL Command Line Client." }, { "@type": "HowToDirection", "text": "Execute: REPAIR TABLE tbl1 USE_FRM;" }, { "@type": "HowToDirection", "text": "Check the Msg_text column for OK, Table is already up to date, or Error." } ] }, { "@type": "HowToStep", "name": "Drop and Recreate the Corrupted Table", "text": "Recreate the table structure while preserving readable data and index files.", "url": "#method-2", "itemListElement": [ { "@type": "HowToDirection", "text": "Run SHOW CREATE TABLE tbl1; to capture the table structure." }, { "@type": "HowToDirection", "text": "Stop MySQL Server and back up .FRM, .MYD, and .MYI files." }, { "@type": "HowToDirection", "text": "Drop and recreate the table using CREATE TABLE." }, { "@type": "HowToDirection", "text": "Copy back the .MYD and .MYI files and restart MySQL." } ] }, { "@type": "HowToStep", "name": "Correct the InnoDB Configuration File", "text": "Fix mismatched innodb_data_file_path settings in my.cnf or my.ini.", "url": "#method-3", "itemListElement": [ { "@type": "HowToDirection", "text": "Stop MySQL Server." }, { "@type": "HowToDirection", "text": "Open my.cnf or my.ini." }, { "@type": "HowToDirection", "text": "Verify that innodb_data_file_path matches the actual ibdata1 file size." }, { "@type": "HowToDirection", "text": "Save changes and restart MySQL Server." } ] }, { "@type": "HowToStep", "name": "Restore the Database from Backup", "text": "Restore MySQL databases using mysqldump or a physical backup.", "url": "#method-4", "itemListElement": [ { "@type": "HowToDirection", "text": "Verify required privileges using SHOW GRANTS." }, { "@type": "HowToDirection", "text": "Connect to MySQL Server using the command line." }, { "@type": "HowToDirection", "text": "Drop and recreate the database." }, { "@type": "HowToDirection", "text": "Restore the backup using mysql -u root -p db_name < dumpfile.sql." }, { "@type": "HowToDirection", "text": "Verify that all tables have been restored." } ] }, { "@type": "HowToStep", "name": "Repair the Database Using Stellar Repair for MySQL", "text": "Use Stellar Repair for MySQL to recover severely corrupted InnoDB or MyISAM databases.", "url": "#method-5", "itemListElement": [ { "@type": "HowToDirection", "text": "Install and launch Stellar Repair for MySQL." }, { "@type": "HowToDirection", "text": "Browse and select the MySQL data folder." }, { "@type": "HowToDirection", "text": "Select the corrupted database and click Repair." }, { "@type": "HowToDirection", "text": "Preview the repaired tables." }, { "@type": "HowToDirection", "text": "Save the repaired database to MySQL, CSV, HTML, or XLS format." } ] } ] }