db-command

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

MIT License

Downloads
5.2M
Stars
71
Committers
76

Bot releases are visible (Hide)

db-command - Version 1.2.0

Published by danielbachhuber about 7 years ago

  • Introduces wp db prefix for getting the $wpdb->prefix for a site [#22].
  • Introduces wp db search for searching through the database for a given string [#29, #33].
  • Uppercases WP size_format() for pre-4.6 compat [#26].
  • Removes superfluous isset() check before unset() [#27].
  • Updates package with latest scaffolded components [#31].
  • Uses dist: precise for PHP 5.3, dist: trusty for everything else [#32].
db-command - Version 1.1.0

Published by danielbachhuber over 7 years ago

  • 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.
db-command - Version 1.0.1

Published by danielbachhuber over 7 years ago

  • Adds database name to confirmation prompts for wp db drop and wp db reset commands.
db-command - Version 1.0.0

Published by danielbachhuber over 7 years ago

  • Initial release.
Package Rankings
Top 0.9% on Packagist.org
Badges
Extracted from project README
Testing