2

Our Magento website has been having problems lately and every now and then we receive on our webpage an error:

SQLSTATE[HY000]: General error: 1712 Index [table] is corrupted

As i understand, innodb does not support repair via phpmyadmin. We are able to shutoff website and database for a few hours in order to repair but do not understand repair well enough after reading online.

Would appreciate any help on repair of innodb tables.

rsjaffe
  • 5,050
  • 7
  • 23
  • 35
OREO
  • 21
  • 4

1 Answers1

-2

What version of MySQL?

1712 is very rare. See if Bug 72858 is relevant.

Here is a way to rebuild (not "repair") the index(es):

ALTER TABLE your_table ENGINE=InnoDB;

If that does not help, please provide any output from the ALTER, including execution time.

Rick James
  • 106,233
  • 9
  • 103
  • 171