Skip to main content
mySites.guru
NewmySites.guru is now a Cloudflare verified serviceWhat it means for your sites

Crashed Database Tables

Crashed Database Tables

A crashed table makes every read and save on it fail until it is repaired. Find the Joomla and WordPress tables your database server cannot open.

How the crashed tables check works

During each snapshot your site asks the database server for the status of every one of its own tables, the ones with its table prefix. A table the server reports as crashed, or cannot open at all, is counted. On MySQL 8 your site asks for fresh status rather than the server’s cached copy, so a table that crashed since the last look is not missed. Views are skipped.

If your site cannot read the table status, the row shows No Data rather than a pass.

What a crashed table does to a site

A crashed table loses saves without telling the editor. Every read and every write on it fails until it is repaired, so depending on which table it is, articles or posts will not save, logins fail, or a page shows a database error. Of all the checks in this group it is the one most likely to be breaking the site right now, which is why it is shown as the most serious.

No crashed tables

The database server can open every one of the site’s own tables.

Repairing from mySites.guru

  1. Open the site, go to the Snapshot tab and click Investigate on the Crashed Database Tables row.
  2. Each row shows the table, its engine and the error the server gave.
  3. Take a backup if you can.
  4. Click Repair on a row, or Repair all listed. mySites.guru always asks first, because a repair rebuilds the table and drops rows it cannot read.
  5. Each table that is repaired fades out of the list. Any that failed are listed with the server’s message.
The Crashed Database Tables page in mySites.guru: an error that 1 table cannot be opened, then the crashed MyISAM table with the server's own message and a Repair button
The server's own message for each crashed table, with Repair on the row.

A repair runs at most 50 tables at a time, within a time limit, so a large table cannot hold the site up. If some are still waiting, the page tells you and you press Repair again. A table that cannot be repaired, such as an InnoDB table with a missing tablespace, shows “Restore from a backup” instead of a button.

The site gets a fresh snapshot afterwards, and the repair is recorded on the site’s activity timeline.

Stopping it happening again

Most crashed tables are MyISAM tables that were being written when the server stopped. Moving them to InnoDB, which has crash recovery, is the long-term fix. The tables not using InnoDB check lists them. If the same table keeps crashing, ask your host about disk space and server restarts.

Crashed Database Tables

mySites.guru checks every connected site for this automatically and flags it the moment it appears. These run twice a day on every connected site.

Further Reading

Frequently Asked Questions

Can every crashed table be repaired?
No. REPAIR TABLE works on MyISAM, Aria, ARCHIVE and CSV tables. An InnoDB table that the server cannot open, for example because its tablespace file is missing, cannot be repaired that way, so the page tells you to restore it from a backup or ask your host.
Can a repair lose data?
Yes. REPAIR TABLE rebuilds the table and drops rows it cannot read. That is why mySites.guru always asks before it runs one, and why you should take a backup first if you can.
What causes a table to crash?
Usually the database server stopping while the table was being written, through a server crash, a full disk or a forced restart. MyISAM tables have no crash recovery, which is why they are the ones that end up marked as crashed.
EU icon: AI MODIFIEDWritten and edited by a human, with AI assistance. Our approach to AI

See where your own sites stand

One free audit of one site · no card · about 2 minutes to connect

Get Your Free Site Audit