> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/error-codes/mariadb-error-codes-1100-to-1199/e1194.md).

# 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 [MyISAM](/docs/server/server-usage/storage-engines/myisam-storage-engine.md), [Aria](/docs/server/server-usage/storage-engines/aria.md), [Archive](https://github.com/mariadb-corporation/mariadb-docs/blob/main/server/server-usage/storage-engines/archive/README.md) or [CSV](/docs/server/server-usage/storage-engines/csv.md) 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](/docs/server/reference/sql-statements/table-statements/repair-table.md) statement, or one of the similar scripts, [aria\_chk](/docs/server/clients-and-utilities/aria-clients-and-utilities/aria_chk.md), [myisamchk](/docs/server/clients-and-utilities/myisam-clients-and-utilities/myisamchk.md) or [mariadb-check](/docs/server/clients-and-utilities/table-tools/mariadb-check.md).

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
