rhpctl delete database

Use the rhpctl delete database command to delete a database that was created from a working copy.

Syntax

rhpctl delete database –workingcopy workingcopy_name -dbname unique_db_name

Parameters

Table F-8 rhpctl delete database Parameters

Parameter Description
-workingcopy
 workingcopy_name

Specify a name for the working copy for the database that you want to delete.

-dbname unique_db_name

Specify the unique name of the database (DB_UNIQUE_NAME) that you are deleting.

Example

To delete a database from a working copy:

$ rhpctl delete database -workingcopy -dbname hr1