Bennett, Thursday, July 11, 2002, 6:17:51 AM, you wrote: BH> I have a database in which one MYD file has apparently been corrupted:
mysql> use tracerlock; BH> Reading table information for completion of table and column names BH> You can turn off this feature to get a quicker startup with -A BH> Didn't find any fields in table 'news_feed_item' BH> Database changed mysql> select count(*) from news_feed_item; BH> ERROR 1016: Can't open file: 'news_feed_item.MYD'. (errno: 145) mysql> BH> The other tables in the database still work. How do I fix this one? I BH> have no idea how it happened. If I open the file in a text editor, I can BH> see the data from some of the records that have been entered. I've BH> rebooted the machine to no avail (I figured that wasn't the problem, but I BH> tried). BH> I have a backup of the table dated last Saturday, but I'd prefer to fix BH> this version if possible to preser ve the entries entered between Saturday BH> and Wednesday. You can repair your table with myisamchk program or REPAIR TABLE: http://www.mysql.com/doc/R/e/Repair.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [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