Method |
Description |
|
check ( ) |
Check the current status of the database. |
|
cli ( ) |
Open a MySQL console using credentials from wp-config.php |
|
create ( $_, $assoc_args ) |
Create a new database. |
|
drop ( $_, $assoc_args ) |
Delete the existing database. |
|
export ( $args, $assoc_args ) |
Exports the database to a file or to STDOUT. |
|
import ( $args, $assoc_args ) |
Import a database from a file or from STDIN. |
|
optimize ( ) |
Optimize the database. |
|
query ( $args, $assoc_args ) |
Execute a SQL query against the database. |
|
repair ( ) |
Repair the database. |
|
reset ( $_, $assoc_args ) |
Remove all tables from the database. |
|
tables ( $args, $assoc_args ) |
List the database tables. |
|