มี ที่ นี่

พล ส้ม's Blog

ซ่อม database mysql

เมื่อวานถึงกับมึน ว่าอยู่ๆ มันก็พังไปซะงั้น ทั้งๆ ทั้ก็ไม่ได้ทำอะไรนี่นา T_T

เริ่งเกิดที่ http://www.thaihosttalk.com/index.php?topic=20692.0 นี่ครับ

นั่งทำนานแสนนานกับ mysql ตกลงแล้ว database พัง แล้วไปพังที่ใหนรู้ใหมครับ mysql.user ให้ตายซิ run mysql ก็ไ่ม่ได้

พี่ไก่ thaitumweb เลยให้ซ่อมซะคือ

myisamchk -r user.MYI

ได้ครับ โหคราวนี้ ซ่อมหมดเลยดังนี้

myisamchk -r /var/lib/mysql/*/*.MYI

ไปหลาย database เลย อะไรมันจะซวยปานนี้ ใครที่ทำกันกันตรวจกันบ่อยๆนะ

Tags: , ,

This entry was posted on Wednesday, July 1st, 2009 at 12:53 pm and is filed under linux, mysql. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.