On this page

EDIT CONNECTION

Core command ED CO EDCO

Changes a database connection of the CDF, through an interactive wizard.

Syntax

EDIT CONNECTION <id>

Arguments

ArgumentRequiredValuesDefault
<id>YesThe ID of an active connectionNone

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.

Used in these how-tos

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.