skip to main content
Configuring and connecting to data sources : Additional configuration methods for Linux : Configuration through the system information (odbc.ini) file : Sample default odbc.ini file
  

Try DataDirect Drivers Now
Sample default odbc.ini file
The following is a sample odbc.ini file that the installer program installs in the installation directory. All occurrences of ODBCHOME are replaced with your installation directory path during installation of the file. Values that you must supply are enclosed by angle brackets (< >). If you are using the installed odbc.ini file, you must supply the values and remove the angle brackets before that data source section will operate properly. Commented lines are denoted by the # symbol. This sample shows a 32-bit driver with the driver file name beginning with iv. A 64-bit driver file would be identical except that driver name would begin with dd and the list of data sources would include only the 64-bit drivers.
[ODBC Data Sources]
Dynamics 365=DataDirect 8.0 Microsoft Dynamics 365 Driver

[Dynamics 365]
Driver=ODBCHOME/lib/ivdynamics36528.so
Description=DataDirect 8.0 Microsoft Dynamics 365 Driver
AccessToken=
ApplicationUsingThreads=1
AuthenticationMethod=24
AuthURI=
BatchUpdateChunkSize=200
ClientID=
ClientSecret=
ConnectionRetryCount=5
ConnectionRetryDelay=1
CreateMap=4
CustomPrefix=1
CustomPrefixName=
FetchSize=100
InitializationString=
JVMArgs=-Xmx256m
JVMClasspath=
KeywordConflictSuffix=
LogConfigFile=ddlogging.properties
LoginTimeout=0
NTLMDomain=
Password=
ProxyHost=
ProxyPassword=
ProxyPort=0
ProxyUser=
QueryTimeout=0
ReadAhead=0
ReadOnly=0
RefreshSchema=0
RefreshToken=
ReportCodepageConversionErrors=0
SchemaMap=
Scope=
ServerPortNumber=19942
ServiceURL=
SQLEngineMode=0
StmtCallLimit=0
StmtCallLimitBehavior=1
TokenURI=
TransactionMode=0
User=
WSCompressData=0

[ODBC]
IANAAppCodePage=4
InstallDir=ODBCHOME
Trace=0
TraceFile=odbctrace.out
TraceDll=ODBCHOME/lib/ivtrc28.so
ODBCTraceMaxFileSize=102400
ODBCTraceMaxNumFiles=10

[ODBC File DSN]
DefaultDSNDir=
UseCursorLib=0
To modify or create data sources in the odbc.ini file, use the following procedures.
To modify a data source:
1. Using a text editor, open the odbc.ini file.
2. Modify the default values for attributes in the data source definitions as necessary based on your system specifics.
See "Connection Option Descriptions" for other specific attribute values.
3. After making all modifications, save the odbc.ini file and close the text editor.
Important: The "Connection Option Descriptions" section lists both the long and short names of the attribute. When entering attribute names into odbc.ini, you must use the long name of the attribute. The short name is not valid in the odbc.ini file.
To create a new data source:
1. Using a text editor, open the odbc.ini file.
2. Copy an appropriate existing default data source definition and paste it to another location in the file.
3. Change the data source name in the copied data source definition to a new name. The data source name is between square brackets at the beginning of the definition, for example, [Auto REST].
4. Modify the attributes in the new definition as necessary based on your system specifics.
See "Connection Option Descriptions" for other specific attribute values.
5. In the [ODBC] section at the beginning of the file, add a new data_source_name=installed-driver pair containing the new data source name and the appropriate installed driver name.
6. After making all modifications, save the odbc.ini file and close the text editor.
Important: The "Connection Option Descriptions" section lists both the long and short name of the attribute. When entering attribute names into odbc.ini, you must use the long name of the attribute. The short name is not valid in the odbc.ini file.