db-command
db-command copied to clipboard
Performs basic database operations using credentials stored in wp-config.php.
The following only works with MySQL https://github.com/wp-cli/db-command/blob/0908bf5182b830c302199037070292e20d9f4ea6/src/DB_Command.php#L1019-L1024 I don't believe there is a similar way to get the size of a SQLite database, and the preferred method is to just...
because the length is already calculated / formatted correctly but is very unhandy to check/read while numbers are left-aligned like here: ``` root@test-server ~ # sudo -u www-data -s --...
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
This PR implements the exclude_revisions flag for `wp db search` command. This flag allows users to exclude revisions from the search results. PR fixes following issues: - #156 ## Usage...
Fixes #239
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
i've installed ``` wp-cli cli info OS: Linux 6.10.6-200.fc40.x86_64 wp-cli/wp-cli#1 SMP PREEMPT_DYNAMIC Mon Aug 19 14:09:30 UTC 2024 x86_64 Shell: /bin/bash PHP binary: /usr/bin/php PHP version: 8.3.11 php.ini used: /usr/local/etc/php8/php.ini...
## Bug Report When running commands related to `db` at hostinger, I get the following error. > mysqlcheck: Character set '' is not a compiled character set and is not...
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
## 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** MariaDB introduced broke with backward dump file compatibility, trying...