8/17/2010
8/09/2010
Mysql Error
Last_Error: QUERY partially completed ON the MASTER (error ON MASTER: 1053) AND was aborted.
There IS a chance that your MASTER IS inconsistent
AT this point. IF you are sure that your MASTER IS ok, run this QUERY manually
ON the SLAVE AND THEN restart the SLAVE WITH SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1
There IS a chance that your MASTER IS inconsistent
AT this point. IF you are sure that your MASTER IS ok, run this QUERY manually
ON the SLAVE AND THEN restart the SLAVE WITH SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1
Mysql Error : Table is marked as crashed and should be repaired
"Table xxx is marked as crashed and should be repaired"
ให้ทำดังนี้
1. ไปยังพื้นที่จัดเก็บ Database File คือ /var/lib/mysql
2. แล้วเข้าไปใน Directory ของ Database นั้นๆ เช่น xxx เป็นต้น
3. ใช้คำสั่ง myisamchk xxx.MYI เพื่อตรวจสอบ (xxx คือชื่อ Database ตัวที่มีปัญหา)
4. หากพบปัญหา ลองใช้คำสั่ง myisamchk -r xxx.MYI เพื่อพยายาม recovery เป็นอันดับแรก[http://dev.mysql.com/doc/refman/5.1/en/myisamchk.html ]
ให้ทำดังนี้
1. ไปยังพื้นที่จัดเก็บ Database File คือ /var/lib/mysql
2. แล้วเข้าไปใน Directory ของ Database นั้นๆ เช่น xxx เป็นต้น
3. ใช้คำสั่ง myisamchk xxx.MYI เพื่อตรวจสอบ (xxx คือชื่อ Database ตัวที่มีปัญหา)
4. หากพบปัญหา ลองใช้คำสั่ง myisamchk -r xxx.MYI เพื่อพยายาม recovery เป็นอันดับแรก[http://dev.mysql.com/doc/refman/5.1/en/myisamchk.html ]
Subscribe to:
Comments (Atom)