Skip to main content
The drivers command group lets you search and download drivers, list installed drivers, activate licenses, and inspect connection properties.

Driver library directory

The drivers commands read and write drivers in the driver library directory. By default, this is %APPDATA%\CData\lib\ on Windows and ~/.config/CData/lib/ on macOS and Linux. To use a different directory, set the CDATACLI_HOME environment variable to a valid directory path, or pass -l, --lib <directory> to a command. The -l option takes precedence over CDATACLI_HOME. See Driver library directory for details.
Searches the CData driver catalog and returns a list of available drivers. Use this command to find the artifact ID needed to download a driver.
Arguments and options Examples Search for all available drivers:
Filter by name:
Output

drivers download

Downloads a CData JDBC driver JAR from the driver catalog or a direct URL. The JAR is saved to the driver library directory by default, which is the location the CLI reads drivers from.
Arguments and options Examples Download a driver by artifact ID:
Download to a specific directory:
Download from a direct URL:

drivers list

Lists all CData JDBC drivers in the driver library directory.
Options Examples List the drivers in the driver library directory:
List the drivers in a custom directory:
Output

drivers activate

Activates a CData JDBC driver using a license key or trial. This command is non-interactive and suitable for scripting.
Arguments and options Examples Activate with a license key:
Start a free trial:

drivers connectionprops

Shows connection properties for a driver, including type, description, default values, allowed values, and per-auth-scheme property hierarchies. By default, returns basic properties. Use --full to return advanced properties instead.
Arguments and options Examples Show basic connection properties:
Show advanced connection properties:
Output Properties are returned under jdbcJson.basic (or jdbcJson.advanced with --full). Basic properties that vary by auth scheme include a hierarchyRules object keyed by scheme name. Output is trimmed for clarity.