Sample default odbc.ini file
- Last Updated: November 15, 2023
- 2 minute read
- DataDirect Connectors
- ODBC
- Google Bigquery 8.0
- 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 BigQuery=DataDirect 8.0 Google BigQuery
[Google BigQuery]
Driver=ODBCHOME/lib/ivgbq28.so
Description=DataDirect 8.0 Google BigQuery
AccessToken=abcdefghi12345678
AllowLargeResults=false
ApplicationUsingThreads=1
AuthenticationMethod=oauth2.0
AuthURI=https://accounts.google.com/o/oauth2/auth
ClientID=123abc.apps.googleusercontent.com
ClientSecret=ab123xy
ConfigOptions=
ConnectionReset=0
CreateMap=2
Dataset=mydataset
DataSourceName=
Description=
EnableLoginPrompt=0
FetchSize=100
IANAAppCodePage=
JobTimeout=0
JsonFormat=raw
JVMArgs=-Xmx256m
JVMClasspath=
JWTAudience=https://accounts.google.com/o/oauth2/token
KMSKeyName=
LegacyDataset=_queries_
LegacyTable=_sql_*
Location=
LoadBalanceTimeout=0
LogConfigFile=
LoginTimeout=15
MaximumBytesBilled=0
MaxPoolSize=100
MinPoolSize=0
PrimaryKeyPattern=
Project=myproject
Pooling=0
ProxyHost=
ProxyPassword=
ProxyPort=
ProxyUser=
RedirectURI=
RefreshSchema=0
RefreshSchemaForDDL=true
RefreshToken=wxyz123456789
ReportCodepageConversionErrors=0
RetryExceptions=0
SchemaMap=
Scope=https://www.googleapis.com/auth/bigquery
ServiceAccountEmail=
ServiceAccountPrivateKey=
SQLEngineMode=2
Syntax=
TokenURI=https://accounts.google.com/o/oauth2/token
UseQueryCache=1
UseStreamingInsert=1
WSFetchSize=1000000
WSPoolSize=1
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: