MySQL "is marked as crashed and should be repaired" fault

Source: Internet
Author: User

The project encountered this problem and continued operation after the disk was full, causing the table to be indexed incorrectly.

phpMyAdmin has a repair button, but the project is using MySQL front software in a Windows environment. Online on the repair of the fault answer, in the actual operation is still a bit biased, so the process recorded.

After locating the Myisamchk.exe path (C:\mysql5.6\MySQL Server 5.6\bin), run the Myisamchk-c-R path directly, for example:

C:\mysql5.6\MySQL Server 5.6\bin>myisamchk-c-R D:\database\mysql5.6\data\dbname\tablename

Online there are answers saying run myisamchk-c-R D:\database\mysql5.6\data\dbname\tablename. MYI

The result is a myisam-table of the wrong ...

The fixes are as follows:

Data records:163763
-Fixing Index 1
Found link, points at 18337776 (outside data file) at 8461788
-Fixing Index 2
Data records:163762

This article is from the "Flying Potato God teach" blog, please be sure to keep this source http://1105190775.blog.51cto.com/10048144/1880287

MySQL "is marked as crashed and should be repaired" fault

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.