How to check and repair a crashed MySQL table

For hosting customers · Updated 2026-10-29

On this page
  1. Steps
  2. Read the result
  3. When a table cannot be repaired
  4. Good to know
  5. Common questions

A table can be damaged after a crash or a full disk. Websites then show errors such as "Table './username_shop/wp_options' is marked as crashed and should be repaired". Check & repair checks every table of a database and repairs the damaged ones where possible.

Steps

  1. Log in to the control panel (https://<server>:2083).
  2. Open MySQL Databases (section Databases).
  3. In the Databases list, click Check & repair next to the database.
  4. Wait for the result. A large database can take a few minutes (up to 5).

Read the result

  • username_shop: 42 tables checked. No problems found. — everything is fine.
  • … Repaired: wp_options. — the named tables were damaged and are repaired. Reload your website.
  • … Could not be repaired: wp_posts (…). Restore the database from a backup or ask support. — the named table is damaged beyond what the check can fix.

When a table cannot be repaired

  1. Restore the database from a backup: Backups (section Advanced), choose a copy, and restore only the database.
  2. If you have your own export, import it into the database instead.
  3. Otherwise, contact support with the message.

Good to know

  • Repair works for MyISAM and Aria tables, the kinds that are marked "crashed". InnoDB tables (the default for WordPress and most modern software) recover by themselves after a crash; when one is really damaged, the check names it and a backup is the way back.
  • The check does not change healthy tables or your data.
  • A full disk is a common cause. Check Resource Usage and free space first, or the problem can come back.

Common questions

Should I run Check & repair regularly?

No. Run it when a site reports a damaged table or database errors that started suddenly.

Can I repair a table in phpMyAdmin instead?

Yes: select the table, then Operations → Repair table. Check & repair does the same for every table at once.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.