Got error 127 from table handler
Á¶È¸ : 354 À̸§ : ¾Æ¹«³ª
E-mail :
Got error 127 from table handler¿¡·¯ ¹ß»ý½Ã MySQL
2005/11/15 21:19

http://blog.naver.com/apchima/80019474906
ÀÌ Æ÷½ºÆ®¸¦ º¸³½°÷ ()


°£È¤°¡´Ù°¡ Àß µ¹¾Æ°¡´ø ¼­¹ö ÆäÀÌÁö°¡ DBÂÊÀÇ ¹®Á¦·Î ´ÙÀ½°ú °°Àº ¿À·ù°¡ »ý±â°ï ÇÕ´Ï´Ù.

Got error 127 from table handler



¡Ø ¾Æ·¡ Âü°í

shell> perror 126 127 132 134 135 136 141 144 145
126 = Index file is crashed / Wrong file format
127 = Record-file is crashed
132 = Old database file
134 = Record was already deleted (or record file crashed)
135 = No more room in record file
136 = No more room in index file
141 = Duplicate unique key or constraint on write or update
144 = Table is crashed and last repair failed
145 = Table was marked as crashed and should be repaired


¹ßÃé : http://dev.mysql.com/doc/mysql/en/repair.html





´ÙÀ½Àº À§¿Í °°ÀÌ ¼Õ»óµÈ DB Å×À̺íÀ» º¹±¸ÇÏ´Â mysql ¸í·É¾î ÀÔ´Ï´Ù.

DB¿¡¼­
mysql> repair table product; //"product"´Â ¿À·ù°¡ »ý±ä Å×À̺í ÀÔ´Ï´Ù.
ÇϽñâ Àü¿¡
mysql>analyze table product;¸¦ ½ÇÇàÇϸé Å×ÀÌºí¿¡ ´ëÇÑ º¸°í¼­°¡ ÀÛ¼ºµË´Ï´Ù.
±×¸®°í ³ª¼­
mysql>rapair table product;¸¦ ½ÇÇàÇÏ¸é º¹¿øÀÌ µË´Ï´Ù.


¿¹)

mysql> analyze table product;
+-------------+---------+----------+-----------------------------+
| Table | Op | Msg_type | Msg_text |
+-------------+---------+----------+-----------------------------+
| kms.product | analyze | status | Table is already up to date |
+-------------+---------+----------+-----------------------------+
1 row in set (0.06 sec)

mysql> repair table product;
+-------------+--------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+-------------+--------+----------+----------+
| kms.product | repair | status | OK |
+-------------+--------+----------+----------+
1 row in set (0.10 sec)

[Ãâó] Got error 127 from table handler¿¡·¯ ¹ß»ý½Ã |ÀÛ¼ºÀÚ ¿­¸°¹®¼­

ÀÛ¼º ³¯Â¥ : 2008-03-24