ADD CONNECTION

Core command ADD CO ADDCO AD CO ADCO

Creates a new database connection

Arguments

<id> (mandatory) new connection ID

Examples

ADD CONNECTION MYDB01;

Notes

Creates a new database connection: ADD CONNECTION <id>.

id is mandatory and must not already exist in the Connections Definition File (CDF) - the command fails otherwise. The command then runs an interactive wizard, prompting in turn for Name, Type, URL, User Name, User Password, Instance, Landscape and Comment, followed by a [y/n/c] confirmation: y saves the connection and immediately test-connects to it (reporting success or failure without aborting the save), n restarts the wizard from the top, anything else aborts without saving.

There is no non-interactive way to create a connection with this command; all fields must be entered through the prompts.

Last modified in release 4.9.8.