1

I am receiving an error in mysql while checking the status

mysql>SHOW MYSQL STATUS\G;

Last_SQL_Error: Error 'Incorrect key file for table './aaa_bbb/abcd_xxyyzz.MYI';
try to repair it' on query. Default database: 'aaa_bbb'.
Query: 'UPDATE abcd_xxyyzz SET abcd_xxyyzz = 12345678912, abcd_xxyyzz = 'posting.php?mode=reply&f=23&t=156&confirm_key=4DGHJNBFTH', abcd_xxyyzz_id = 11 WHERE abcd_xxyyzz_id='2dfggrehtrhfdfvsdasdsas2fsd1fdf45'

Could anybody helps to resolve the issue?

Déjà vu
  • 28,223
  • 6
  • 72
  • 100

1 Answers1

0

We can resolve this Issue by repairing the table. In the mysql command prompt:

mysql -u username -p password
mysql> use aaa_bbb;
mysql> repair table abcd_xxyyzz;
mysql> slave stop;
mysql> slave start;
Braiam
  • 1
  • 11
  • 47
  • 78