Sample default odbc.ini file
- Last Updated: May 13, 2024
- 2 minute read
- DataDirect Connectors
- ODBC
- Documentation
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]
Google Analytics 4=DataDirect 8.0 Google Analytics 4
[Google Analytics 4]
Driver=ODBCHOME/lib/ivgoogleanalytics428.so
Description=DataDirect 8.0 Google Analytics 4 Driver
AccessToken=
AddTables=
ApplicationUsingThreads=1
AuthenticationMethod=24
AuthURI=https://accounts.google.com/o/oauth2/auth
ClientID=
ClientSecret=
DebugRecord=
DefaultQueryOptions=
FetchSize=100
HostName=https://analyticsdata.googleapis.com
InitializationString=
JVMArgs=-Xmx256m
JVMClasspath=
JVMPath=
KeywordConflictSuffix=
LogConfigFile=ddlogging.properties
ProxyHost=
ProxyPassword=
ProxyPort=0
ProxyUser=
RedirectURI=
RefreshToken=
ReportCodepageConversionErrors=0
Scope=https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
ServerPortNumber=19972
ServerProxyHost=
ServerProxyPassword=
ServerProxyPort=
ServerProxyUser=
SQLEngineMode=0
StmtCallLimit=0
StmtCallLimitBehavior=1
TokenURI=https://accounts.google.com/o/oauth2/token
TransactionMode=0
WSRetryCount=5
WSTimeout=120
[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:
-
To create a new data source: