×

Notice

The forum is in read only mode.

How do I repair MyISAM tables in MySQL?

  • Elias
  • Elias's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
3 months 2 weeks ago #3294 by Elias
How do I repair MyISAM tables in MySQL?
  • Elias
  • Elias's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
3 months 2 weeks ago - 3 months 2 weeks ago #3295 by Elias
First, try myisamchk -r -q tbl_name ( -r -q means “quick recovery mode”). This attempts to repair the index file without touching the data file. If the data file contains everything that it should and the delete links point at the correct locations within the data file, this should work, and the table is fixed.

 

dev.mysql.com/doc/refman/5.7/en/myisam-r...20table%20is%20fixed .
Last edit: 3 months 2 weeks ago by Elias.
Time to create page: 0.067 seconds

Site Info

V. Katsanioti,

Russia,

Kaliningrad Oblast.

matizegr@yahoo.com

Visit counter

United States of America (the) 75.9% United States of America (the)
Russian Federation (the) 12.6% Russian Federation (the)
China 5.6% China
Singapore 1.1% Singapore

Total:

41

Countries
00002426
Today: 19
Yesterday: 58
This Week: 270
Last Week: 381
This Month: 19
Last Month: 2,327

Who's Online

We have 342 guests and no members online