Check all MySQL tables for errors
mysql table corrupted | table is marked as crashed | check database for errors | mysqlcheck | mysql | mariadb | troubleshootingmysqlcheck --all-databases --check --silentRuns CHECK TABLE on every table of all databases. With --silent, only tables with errors or warnings are shown. Worthwhile after crashes, full disks or messages like “Table is marked as crashed”.
Note: The check creates load and may briefly lock MyISAM tables. mysqlcheck --repair can only repair MyISAM and Aria tables, not InnoDB.
Also searched as
- mysql table corrupted
- table is marked as crashed
- check database for errors