ccmdb delete

This topic contains information about the ccmdb delete command.

Synopsis

ccmdb delete database_path [-y]

Description and 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 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/train71 database.

$ ccmdb delete /vol/orbit1/ccmdb/train71 -y
Enter user-name who has DROP USER privilege: ccm_user
Enter password: 
Deleting ORACLE schema train71
Successfully deleted Oracle schema train71
Deleting database files in /vol/orbit1/ccmdb/train71
Successfully deleted database files in /vol/orbit1/ccmdb/train71 
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