On this page

SHOW CONNECTION

Core command SH CO SHCO

Shows the details of a connection: name, type, URL, user, Database Group and Environment.

Syntax

SHOW CONNECTION [<connection>]

Arguments

ArgumentRequiredValuesDefault
<connection>NoA connection ID of the CDFThe current connection

Examples

SHOW CONNECTION db01;
SHOW CONNECTION;

Example session

WORLD-QA> SHOW CONNECTION;
|----------------|-------------------------------|
| CONNECTION     | WORLD-QA                      |
| NAME           | Sample World Database, QA     |
| TYPE           | H2                            |
| URL            | jdbc:h2:./samples/WorldDB_QA  |
| USER           | sa                            |
| DATABASE GROUP | WORLDAPP                      |
| ENVIRONMENT    | QA                            |
|----------------|-------------------------------|
Illustrative output: the values come from the WORLD sample and the practice connections of the how-to on QA and production copies of WORLD, and the layout from this release; it was not captured from a BroadSQL run, and your timings will differ.

Details

The command shows the connection's name, type, URL, user, Database Group and Environment in a two-column table (the field, then its value); the password is never shown. Without a connection ID, it shows the current connection. A warning is shown when the connection does not exist in the CDF, or is inactive.

The table fits its content. When the terminal is narrower than the table, which a long URL can cause, the value column continues on the following lines of the same row, so the separators stay aligned and no part of the URL is cut.

Last modified in release development.

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