Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site

Hi! I’m clsung RSS Feed
 
 
 
 

MySQL errno 145 Can’t open file blahblah

剛本來要上來發表對於選舉的感想,赫然發現我的回應(comment)全爛了,訊息就如同本篇標題。經查證之後發現是 table damaged。內心的 O.S. 給我支筆~~我想寫個慘字呀~~~

於是乎,想用 phpMyAdmin 來修,沒想到也沒機會。怎麼辦呢?後來就用 myisamchk 來修理:

ggyy2# myisamchk -r ggyy_comments
- recovering (with sort) MyISAM-table ‘ggyy_comments’
Data records: 14948
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
Data records: 14954

帥呀老皮~~回應都還在。

Update 12/19/2006:
後來又出現 ‘Got error 127 from storage engine’ 的訊息,現在把 comments table 裡的 ’spam’ comments 由資料庫中刪除(36 MB),爽多了。 :)

2 Responses to “MySQL errno 145 Can’t open file blahblah”

  1. 1
    jeffhung:

    是因為這個 table 太 GY 的關係?(#flee)

  2. 2
    Hi! I'm clsung:

    是不是該換個 anti-spam plugin 了?…

    最近連上來,常會出現 404 或是 mysql server 掛點的訊息,上次就是這樣哭給我看
    只要接著去看 spam-karma2 的頁面,就會跟著成千上萬的 spam harvest ,不知道是不是這樣讓機器掛點,這可是老機…..

Leave a Reply

噗浪:

  • No public Plurk messages.

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr

Blogroll

    馬的警總回來了