You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wp db check 'checks the current status of the database.' Generally, wp db commands are agnostic of the WordPress install. You'll want to use wp core is-installed to verify WordPress' health.
Bug Report
Describe the current, buggy behavior
With a database that only contains the posts table from wordpress:
This check returns a success, despite the database missing most of WordPress' core database tables.
Steps to reproduce
This database was created by
wp db import
ing a botched phpMyAdmin export, which contained only a single table rather than all tables.You could also probably get similar behavior by selectively deleting tables from an install.
Describe what you would expect as the correct outcome
I would expect an error to be output if any of the tables created by WordPress Core are missing.
Let us know what environment you are running this on
The text was updated successfully, but these errors were encountered: