天天看點

修複./mysql/proc

mysql資料庫隻能建不能删的錯誤提示及處理方法:

mysql> drop database testmysqldatabase;

ERROR 145 (HY000): Table './mysql/proc' is marked as crashed and should be repaired

處理方法:直接在mysql資料庫裡面使用root帳号登入後,進行修複:

mysql> repair table mysql.proc;

+------------+--------+----------+----------+

| Table      | Op     | Msg_type | Msg_text |

| mysql.proc | repair | status   | OK       |

1 row in set (0.05 sec)

Query OK, 0 rows affected (0.02 sec)

本文轉自ting2junshui51CTO部落格,原文連結: http://blog.51cto.com/ting2junshui/1739731,如需轉載請自行聯系原作者