117 文字
1 分
[ERROR] Got error 134 when reading table './データベース名/テーブル名'
MySQLのテーブルがクラッシュしたくさい。
MySQLのログにこんな感じでエラーがでてる。
[ERROR] Got error 134 when reading table ’./データベース名/テーブル名 ’
環境:
- CentOS release 4.5
- mysql-5.0.24 + senna-1.0.1
- MyISAM
対処:
- repairしてもOKといわれた。
- checkしてもOKといわれた。
- MySQLをrestartしても改善されない
解決方法:
- 問題のあるテーブル をdump
- drop
- create
トランザクションが使えないから、こんなかんじで。
mysqldump -u root database table > table.sqlmysql -u root database < table.sql [ERROR] Got error 134 when reading table './データベース名/テーブル名'
https://blog.teraren.com/posts/error-got-error-134-when-reading-table/