Skip to main content
The connection command group lets you create, list, update, and delete named connections to data sources. Connections are stored as encrypted .conn files. See Connection files for details on where they are stored and how they work.

connection list

Lists all saved connections.
Output

connection create

Creates a new named connection and saves it as an encrypted .conn file.
Options Example
To see available connection properties for a driver, use drivers connectionprops.

connection update

Updates an existing named connection by merging, replacing, or removing connection properties.
Options *At least one of --connectionstring or --unset is required. --replace and --unset cannot be used together. Examples Merge new properties into an existing connection:
Replace the entire connection string:
Remove a property from a connection:

connection delete

Deletes a saved connection.
Options Example