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 :)

 

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

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"

  • 1 year later...

I encountered the same problem with MySQL table that lead top data corruption. I store my important data in MySQL database and when it becomes inaccessible I was annoyed. But all thanks to my friend she advised me to use MySQL Repair Tool and this repair tool helped me alot. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.