On this page
EDIT CONNECTION
Changes a database connection of the CDF, through an interactive wizard.
Syntax
EDIT CONNECTION <id>
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<id> | Yes | The ID of an active connection | None |
Examples
EDIT CONNECTION MYDB01;
Details
The wizard
The command runs the wizard of ADD CONNECTION (Name, Type, URL, User Name, User Password, Database Group, Environment, Comment). For each field with a value, it shows the current value (a password is shown as ********) and asks Keep this value [y/n]?; n lets you type a new one.
- Environment: mandatory, an existing Environment.
- Database Group: optional; cleared, the connection becomes standalone. When given, it is an existing Database Group, and no other connection may already use the same Database Group and Environment.
The wizard ends with Save database connection [y/n/c]?: y saves the changes and tests the connection at once (a failed test does not undo the save), n starts the wizard again, and any other answer stops without saving. Until the save, nothing changes, not even for the current connection.
Errors
The connection must exist and be active. An inactive connection cannot be edited: reactivate it first with REACTIVATE CONNECTION, or use the CONFIG window.
Related
- ADD CONNECTION, the fields of the wizard
- SET PASSWORD, the password alone
- SHOW CONNECTION
- CONFIG
Used in these how-tos
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.