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.
- <connectionName>
- This is a unique name for the database connection.
- <forceClose>
- This parameter accepts yes or no (or y or n) to automatically close session-based connections.
- <description>
- This is a description for the connection.
- <hostname>
- This is the hostname of the database server.
- <useSSL>
- This parameter takes yes or no (or y or n) to connect using SSL.
- <port>
- This is the database port number.
- <username>
- This is the username needed to connect to the database.
- <password>
- This is the password needed (in conjunction with the username) to connect to the database.
- <sslCertificatePath>
- This is the path to an optional certificate used for SSL connections.
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 editConnectionTo run this command with arguments,
run:
manage editConnection <sessionName> <connectionName> <forceClose> <description> <hostname> <useSSL> <port> <username> <password> <sslCertificatePath>Note: The
<sslCertificatePath> parameter is optional.