ccmdb delete

The ccmdb delete command removes a database.

Synopsis

ccmdb delete database_path [-y]

Uses

Use the ccmdb delete command to remove a database. You must use this command and not the standard rm command.

To run this command, you must log on as the Oracle user who has write privileges for the appropriate tasks. For more information, see Setting up user privileges for UNIX on Oracle

Options and arguments

database_path
Specifies the path to the database you are deleting.
-y
Executes the command without displaying confirmation messages.

Example

Delete the /vol/orbit1/ccmdb/train721 database.

$ ccmdb delete /vol/orbit1/ccmdb/train72 -y
Enter user-name who has DROP USER privilege: ccm_user
Enter password: 
Deleting ORACLE schema train72
Successfully deleted Oracle schema train72
Deleting database files in /vol/orbit1/ccmdb/train72
Successfully deleted database files in /vol/orbit1/ccmdb/train72
Note: Do not remove a Rational® Synergy database using standard UNIX commands. Each Rational Synergy database contains data that exists in both the file system and on the database server. Using the UNIX rm command removes only the file system data.

Feedback