db-command
db-command copied to clipboard
Performs basic database operations using credentials stored in wp-config.php.
**Describe your use case and the problem you are facing** I often use `wp db search` to determine if a certain shortcode, class, etc. is in use. These search results...
Hello. I recently used WP-CLI to run some SQL queries. After they run, I only got a success or failure message. If it was a success, I did not receive...
# Bug Report #### Summary Running wp db import with the `--ssl` flag fails to properly connect to the database as expected. #### How to reproduce To reproduce, simply attempt...
Hy guys! I'm trying run db commands between containers. I have 3 containers (wp / nginx / mysql). All works fine with de wpcli executable placed into wp root. Commands...
## Feature Request - [x ] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** When exporting databases, it is a common issue...
Hi @schlessera, When I use `wp db export` in Cmd windows get Error:  There is a Double quote that Causes an error. When I run the `mysqldump` command separately,...
## Bug Report **Describe the current, buggy behavior** For #168 we've added logic to emulate WordPress Core's SQL mode compatibility hacks for the commands where we run the `mysql` binary...
## Feature Request - [X] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** In WP 4.2, [the WP database collation was updated](https://make.wordpress.org/core/2015/04/02/the-utf8mb4-upgrade/)...
This code addresses #145 by adding a `get-rows` command to allow custom DB queries to get results formatted in a list, CSV, JSON, or a single column that can be...
With an obfuscated mysql credentials file in place all wp db query commands return with 'access denied'. Steps to reproduce: 1. Create an obfuscated file for root mysql user (enter...