This version is outdated! Click here to see latest



Perform basic database operations using credentials stored in wp-config.php.

Critical or Security advisories for v1.1.0

This version doesn't have any advisory. Want to report one?

Changelog for v1.1.0

  • Introduces wp db size to get the size of the database and its tables.
  • Adds --exclude_tables=<tables> option when exporting a database.
  • Uses /usr/bin/env mysql instead of mysql when calling MySQL executable.
  • Clarifies this command as a bundled command.

Dependencies for v1.1.0

Name Requirement Status


My projects using wp-cli/db-command

Name Locked version Requirement
You should be logged in to see which of your projects use wp-cli/db-command.