wp db repair

Repairs the database

Options

NameDescription
--dbuser <value>Username to pass to mysqlcheck. Defaults to DB_USER
--dbpass <value>Password to pass to mysqlcheck. Defaults to DB_PASSWORD
--field=valueExtra arguments to pass to mysqlcheck. Refer to mysqlcheck docs
--defaultsLoads the environment’s MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration