Jump to content

#1034 - Incorrect key file for table, corrupt table


pioneerx01

Recommended Posts

Hi,

 

I have this problem with one of my tables: "#1034 - Incorrect key file for table 'system'; try to repair it"

 

I tried doing "repair table 'system'" but it still gives me the error. I tried to recover from SQL backups but no luck. I have contacted the host provider and they could not do anything. Thus i ma reaching out to people here, that are probably smarter than the provider, to see if anyone has any way of getting the data from the table back.

 

I am new (1-year) to MySQL so please speak "slowly" thanks :)

 

Link to comment
Share on other sites

Mysql version?    storage engine for the table? (Myisam , Innodb...) , table description (full create table)?

 

a quick google search shows severals answers... from reported bugs (could be old) to some workarounds depending on conditions... examples:

http://www.progtalk.com/viewarticle.aspx?articleid=2281

 

http://bugs.mysql.com/bug.php?id=5686  // around the end of the multiples posts is one possible workaround

 

good search

Link to comment
Share on other sites

This is where speak slowly comes in. I am trying to run "myisamchk --safe-recover system.MYI" but it gives me "#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'myisamchk --safe-recover system.MYI' at line 1"

Link to comment
Share on other sites

  • 1 year later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.