How to solve the mysql error 1033 Incorrect information in file: 'xxx.frm'

How to solve the mysql error 1033 Incorrect information in file: 'xxx.frm'

Problem Description

1. Database of the collection station

2. There is no problem with moving when there is no data, but after collecting data, some menus will report errors when moving.

Solution process

0. Various searches on Baidu and Google, but to no avail.

1. The original site database version is 5.0, and the new site database version is 4.2. I guess the versions are wrong, so I reinstalled the environment. invalid.

2. The backup provided by the customer is the source data under mysql/data, because Ye Yu did not do so when backing up. Only sql has been exported. I initially thought that the backup file was damaged, so I used SQL to import it again, but still got an error.

3. I continue to think that the database is damaged, and try to check and repair, but the result is still erro.

4. Turning to the coding problem, the result is the same.

5. Try to re-import sql, notice the error when importing, check the sql source file, and find that many statements have problems

6. Since exporting out and importing in doesn’t work, why not import directly? So, it was solved.

Workaround

Remote direct access to the database.

Tools Navicat

1. Select a database, right-click --- Data Transfer

2. Select the corresponding source and target and click Start

Summarize

The above is the full content of this article. I hope that the content of this article can bring some help to your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support of 123WORDPRESS.COM.

You may also be interested in:
  • A brief discussion on the problem of forgotten mysql password and login error
  • Summary of online MYSQL synchronization error troubleshooting methods (must read)
  • A quick solution to the error #1929 Incorrect datetime value: '''''''' for column ''''createtime'''' when using MySQL 5.x or above
  • Windows cannot start MySQL service and reports error 1067 solution
  • Solution to MySQL 5.7 group by new feature error 1055
  • ERROR 1045 (28000): Access denied for user ''''root''''@''''localhost''' (using password: YES) Practical solution

<<:  Mini Program implements list countdown function

>>:  Historical Linux image processing and repair solutions

Recommend

Detailed explanation of firewall rule settings and commands (whitelist settings)

1. Set firewall rules Example 1: Expose port 8080...

Solve the problem of mysql's int primary key self-increment

Introduction When we use the MySQL database, we a...

8 ways to manually and automatically backup your MySQL database

As a popular open source database management syst...

Pure CSS to achieve cool charging animation

Let’s take a look at what kind of charging animat...

A brief analysis of the difference between static and self in PHP classes

Use self:: or __CLASS__ to get a static reference...

How to install MySQL 8.0.13 in Alibaba Cloud CentOS 7

1. Download the MySQL installation package (there...

CSS to achieve the sticky effect of two balls intersecting sample code

This is an effect created purely using CSS. To pu...

How to recover files accidentally deleted by rm in Linux environment

Table of contents Preface Is there any hope after...

MySQL transaction details

Table of contents Introduction Four characteristi...

Detailed explanation of common methods of Vue development

Table of contents $nextTick() $forceUpdate() $set...

A complete list of commonly used HTML tags and their characteristics

First of all, you need to know some characteristi...

How to add color mask to background image in CSS3

Some time ago, during development, I encountered ...