Jay, Tuesday, September 17, 2002, 10:45:51 PM, you wrote: J> On my server the MySQL database decided to die on me. So I killed it and J> restarted and that didn't work. So I just rebooted the machine. Now I'm J> getting this error below.
J> Invalid SQL: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=1 J> mysql error: Can't open file: 'privatemessage.MYD'. (errno: 145) J> mysql error number: 1016 J> Anyone know what is going on? 145 = Table was marked as crashed and should be repaired http://www.mysql.com/doc/en/Repair.html Repair table with myisamchk or REPAIR TABLE: http://www.mysql.com/doc/en/REPAIR_TABLE.html http://www.mysql.com/doc/en/myisamchk_repair_options.html -- 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