Error 1194: Table is marked as crashed and should be repaired

Error Code
SQLSTATE
Error
Description

1194

HY000

ER_CRASHED_ON_USAGE

Table '%s' is marked as crashed and should be repaired

Possible Causes and Solutions

This error occurs, in particular to MyISAMarrow-up-right, Ariaarrow-up-right, Archivearrow-up-right or CSVarrow-up-right tables, if the table is marked as crashed. This can occur for a number of reasons, for example:

  • running out of disk space

  • sudden shutdown while the table was in use

Fixing the problem can usually be done by running a REPAIR TABLE statement, or one of the similar scripts, aria_chkarrow-up-right, myisamchkarrow-up-right or mariadb-checkarrow-up-right.

This page is licensed: CC BY-SA / Gnu FDL

spinner

Last updated

Was this helpful?