wp db repair

Repair the database.

GitHub Issues

Runs mysqlcheck utility with --repair=true using DB_HOST,
DB_NAME, DB_USER and DB_PASSWORD database credentials
specified in wp-config.php.

See docs for
more details on the REPAIR TABLE statement.

EXAMPLES

$ wp db repair
Success: Database repaired.