wp db repair
Repairs the database
Options
Name | Description |
---|---|
--dbuser <value> | Username to pass to mysqlcheck. Defaults to DB_USER |
--dbpass <value> | Password to pass to mysqlcheck. Defaults to DB_PASSWORD |
--field=value | Extra arguments to pass to mysqlcheck. Refer to mysqlcheck docs |
--defaults | Loads the environment’s MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration |