2011-07-16 13 views
1

私はMySQLでこのエラーを取得しています。私はまだその永続化を、それを何度も修復しようとしたが、。私はまた、すべてのテーブルを修理しました。mysqlの間違ったキーファイル

morein_db/categories.MYI'; try to repair it 
110716 9:58:16 [ERROR] /usr/libexec/mysqld: Incorrect key file for table './morein_db/categories.MYI'; try to repair it 
110716 9:58:16 [ERROR] /usr/libexec/mysqld: Incorrect key file for table './morein_db/categories.MYI'; try to repair it 
110716 9:58:16 [ERROR] /usr/libexec/mysqld: Incorrect key file for table './morein_db/products_stock.MYI'; try to repair it 
110716 9:58:16 [ERROR] /usr/libexec/mysqld: Incorrect key file for table './morein_db/products_stock.MYI'; try to repair it 

110716 10:01:03 [ERROR] Got an error from thread_id=3586, /builddir/build/BUILD/mysql-5.5.10/storage/myisam/mi_write.c:222 

答えて

1

シャットダウンMySQLサーバー、MySQLのDATADIRにおけるながらmorein_dbとのmyisamchkユーティリティに

myisamchk --silent --force --fast --update-state --key_buffer_size=64M --sort_buffer_size=64M --read_buffer_size=1M --write_buffer_size=1M *.MYI 

を実行するためにディレクトリを変更これは、あなたが利用できる以上のRAM 64Mを前提としています。あなたはこれらのバッファを増やす場合は、修理が速くなります。 http://dev.mysql.com/doc/refman/5.6/en/myisamchk.html

:あなたはここに(非常に便利)のmyisamchkユーティリティの詳細を確認することができます
関連する問題