public function drop( $_, $assoc_args ) {
		WP_CLI::confirm( "Are you sure you want to drop the '" . DB_NAME . "' database?", $assoc_args );

		self::run_query( sprintf( 'DROP DATABASE `%s`', DB_NAME ), self::get_dbuser_dbpass_args( $assoc_args ) );

		WP_CLI::success( 'Database dropped.' );
	}
public function drop( $_, $assoc_args ) {
		WP_CLI::confirm( "Are you sure you want to drop the '" . DB_NAME . "' database?", $assoc_args );

		self::run_query( sprintf( 'DROP DATABASE `%s`', DB_NAME ), self::get_dbuser_dbpass_args( $assoc_args ) );

		WP_CLI::success( 'Database dropped.' );
	}
public function drop ( $ _ , $ assoc_args ) { WP_CLI :: confirm ( "Are you sure you want to drop the '" . DB_NAME . "' database?" , $ assoc_args ) ; self :: run_query ( sprintf ( 'DROP DATABASE `%s`' , DB_NAME ) , self :: get_dbuser_dbpass_args ( $ assoc_args ) ) ; WP_CLI :: success ( 'Database dropped.' ) ; }
Deletes the existing database.

Runs `DROP_DATABASE` SQL statement using `DB_HOST`, `DB_NAME`,
`DB_USER` and `DB_PASSWORD` database credentials specified in
wp-config.php.

## OPTIONS

[--dbuser=<value>]
: Username to pass to mysql. Defaults to DB_USER.

[--dbpass=<value>]
: Password to pass to mysql. Defaults to DB_PASSWORD.

[--yes]
: Answer yes to the confirmation message.

## EXAMPLES

$ wp db drop --yes
Success: Database dropped.
Deletes the existing database .