MySQL repair tables

If you're ever stuck with broken tables in MySQL or MariaDB and you don't know which, you can use the mysqlcheck command to repair them all, one by one (you can also use the --optimize argument).

mysqlcheck -u root -p --auto-repair --all-databases