ConfigsFromFileDSN
Key Name | Default Value | Required |
---|---|---|
|
None |
No |
Description
A comma-separated list of configuration names that the connector reads from the DSN file.
The connector only attempts to read the configuration values from a file DSN if the following conditions are met:
- The FILEDSN configuration is passed in via the connection string.
- The configuration key-value pairs must be inside the ODBC section in the DSN file.
- The ConfigsFromFileDSN configuration is either passed in via the connection string or via the file DSN, and the value of the ConfigsFromFileDSN configuration must contain the names, comma-separated, of the configurations to read from the DSN file.
- The value of the FILEDSN configuration is a valid directory path pointing to the location of the file DSN.
Note:
This property is only available on Windows.
Important:
Important:
In some cases, the configuration of FILEDSN is removed from the connection string. In this case, add a FILEDSNPATH configuration to the connection string with the same value that is passed in for the FILEDSN configuration.
- AOSS Driver Configuration Options on page 1
- Configuring AOSS Options
- Configuring DataStax AOSS Service Discovery
- Using a Connection String