• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1176
  • Last Modified:

mysql reindex files

I need to reindex a table as it has crashed because of power failure while running
Optimizing nor repairing Doesnt work ?
any ideas to fix this

(errno: 144) when repairing

| zm.Events | check | warning  | Table is marked as crashed and last repair failed    |
| zm.Events | check | warning  | Size of indexfile is: 1774592      Should be: 619520 |
| zm.Events | check | error    | Can't read indexpage from filepos: -1                |
| zm.Events | check | error    | Corrupt    

mysql> REPAIR TABLE Events;
| Table     | Op     | Msg_type | Msg_text            |
| zm.Events | repair | error    | 5 when fixing table |
| zm.Events | repair | status   | Operation failed    |
2 rows in set (1.65 sec)
1 Solution
UmeshMySQL Principle Technical Support EngineerCommented:

Please check this link..
( backup all the tables before doing anything..)


aot2002Author Commented:
what a pain it deleted all my records but at least its fixed !
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now