editConnection

The editConnection command allows users to update an existing connection.

Attention: With the release of Db2 11.5.9, Db2 Graph is discontinued. You can still run Db2 Graph as a standalone application with Db2 11.5.6 through 11.5.8.
The following is a list of parameters for this command:
<sessionName>
This is the name of the session being used.
This parameter is required.
<connectionName>
This is a unique name for the database connection.
This parameter is required.
<forceClose>
This parameter accepts yes or no (or y or n) to automatically close session-based connections.
This parameter is required.
<description>
This is a description for the connection.
This parameter is required.
<hostname>
This is the hostname of the database server.
This parameter is required.
<useSSL>
This parameter takes yes or no (or y or n) to connect using SSL.
This parameter is required.
<port>
This is the database port number.
This parameter is required.
<username>
This is the username needed to connect to the database.
This parameter is required.
<password>
This is the password needed (in conjunction with the username) to connect to the database.
This parameter is required.
<sslCertificatePath>
This is the path to an optional certificate used for SSL connections.
The <sslCertificatePath> is relative to the container file system.
This parameter is optional.
Important: If the connection is open on one or more sessions, users can use yes (or y) in the <forceClose> parameter to automatically close those connections.
To run this command with prompts, run:
manage editConnection
To run this command with arguments, run:
manage editConnection <sessionName> <connectionName> <forceClose> <description> <hostname> <useSSL> <port> <username> <password> <sslCertificatePath>
Note: The <sslCertificatePath> parameter is optional.