Home > MySQL > MySQL Log File

MySQL Log File

October 27, 2005 Posted by KP

I didn’t know MySQL log file until I tried to clean up unused databases today, the default file path is /var/db/mysql/hostname.err.

In my log file, there are many error messages about one certain table, the error is like:
read_next: Got error 127 when reading table ./database_name/table_name

MySQL tried to repair the table many times according to the log message, but the problem still exists. Made a quick search, it might be a bug of MySQL 4.0, some pages said it could be fixed by repairing the table, which didn’t work for me.

Repair table with MySQL command line:
mysql> repair table table_name;

Bookmark and Share


Related Posts:

Filed Under: MySQL

Leave a Comment









*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word




Categories

Archives

Links

  • Dedicated Servers
  • Meta