Liu,
Wednesday, June 05, 2002, 5:59:53 AM, you wrote:
LQq> I am making use of mySQL to provide my client a solution. However, one of tables
often crash and produces the folloing error message when I try to use the table in a
query:
LQq> mysql> select * from action;
LQq> error 1016: Can't open file: 'action.MYD'. (errno: 145).
LQq> The record in this table is temporary, after I delete all record from action.
Everything is seem to ok. But it will repeat same problem soon.
LQq> How can I fix it?
$ perror 145
Error code 145: Unknown error 145
145 = Table was marked as crashed and should be repaired
It means that your table is corrupted. Repair it using myisamchk
program or REPAIR TABLE statement:
http://www.mysql.com/doc/R/e/Repair.html
LQq> Best Regards,
LQq> Liu Qianghua
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php