|
|
|
NAME
hadbm delete - removes the database
SYNOPSIS
hadbm delete [adminpassword=password | adminpasswordfile=filename] [agent=ma_url] [dbname]
Use the hadbm delete command to remove the database, configuration files, device files, history and log files. If a database is identified, it should already exist and should be in a stopped state. If a database is not named, the default database is used. The default database
is hadb.
In interactive mode, the hadbm delete command prompts for a confirmation before removing the database.
- w adminpassword
-
The actual HADBM administration password.
- W adminpasswordfile
-
The file from which the passwords are read.
- m agent
-
Identifies the URL to the Management Agent. The default is localhost:1862.
-
dbname
-
The name of the database. The default database is hadb.
Example 1. Using delete
hadbm delete
This command will remove the database and all configuration,
history and log files. Type "yes" or "y" to confirm this
operation, anything else to cancel: y
Database successfully deleted
Example 2. Using delete with a database identified
hadbm delete mydatabase
This command will remove the database and all configuration,
history and log files. Type "yes" or "y" to confirm this
operation, anything else to cancel: y
Database successfully deleted
- 0
-
command executed successfully
- 1
-
error in executing the command
- 22002
-
specified database does not exist
- 22065
-
database not in a stopped state
- 22066
-
database could not be removed
hadbm-addnodes(1), hadbm-clear(1), hadbm-create(1), hadbm-list(1), hadbm-refragment(1), hadbm-restart(1), hadbm-start(1), hadbm-status(1), hadbm-stop(1)
J2EE SDK 1.4 | Go To Top | Last Changed 31 Jan 2005 |
Company Info
|
Contact
|
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|