Creating a Data Source Name
Typically, after installing the Simba ODBC Driver for Google BigQuery, you need to create a Data Source Name (DSN).
Alternatively, for information about DSN-less connections, see Using a Connection String.
To create a Data Source Name:
- From the Start menu, go to ODBC Data Sources.
Make sure to select the ODBC Data Source Administrator that has the same bitness as the client application that you are using to connect to BigQuery.
- In the ODBC Data Source Administrator, click the Drivers tab, and then scroll down as needed to confirm that the Simba ODBC Driver for Google BigQuery appears in the alphabetical list of ODBC drivers that are installed on your system.
- Choose one:
- To create a DSN that only the user currently logged into Windows can use, click the User DSN tab.
- Or, to create a DSN that all users who log into Windows can use, click the System DSN tab.
In the Create New Data Source dialog box, select Simba ODBC Driver for Google BigQuery and then click Finish. The Simba ODBC Driver for Google BigQuery DSN Setup dialog box opens.
In the Data Source Name field, type a name for your DSN.
Optionally, in the Description field, type relevant details about the DSN.
It is recommended that you create a System DSN instead of a User DSN. Some applications load the data using a different user account, and might not be able to detect User DSNs that are created under another user account.
- Configure authentication using the options in the Authentication area. For more information, see Configuring Authentication.
- To allow the driver to access Google Drive so that it can support federated tables that combine BigQuery data with data from Google Drive, select the Request Google Drive Scope Access check box.
- Choose one:
From the Minimum TLS drop-down list, select the minimum version of TLS to use when connecting to your data store.
In the Catalog (Project) drop-down list, select the name of your BigQuery project. This project is the default project that the Simba ODBC Driver for Google BigQuery queries against, and also the project that is billed for queries that are run using the DSN.
- To verify the server using the trusted CA certificates from a specific
.pem file, specify the full path to the file in the Trusted Certificates field and leave the Use System Trust Store check box cleared.
- Or, to use the trusted CA certificates
.pem file that is installed with the driver, leave the default value in the Trusted Certificates field, and leave the Use System Trust Store check box cleared.
- Or, to use the Windows Trust Store, select the Use System Trust Store check box and leave the Trusted Certificates field cleared.
Optionally, in the Dataset drop-down list, select the name of the dataset the driver will query by default. For more information, see Dataset.
To configure a connection through a proxy server, click Proxy Options. For more information, see Configuring a Proxy Connection.
To configure logging behavior for the driver, click Logging Options. For more information, see Configuring Logging Options.
To configure advanced driver options, click Advanced Options. For more information, see Configuring Advanced Options.
To test the connection, click Test. Review the results as needed, and then click OK.
To save your settings and close the Simba ODBC Driver for Google BigQuery DSN Setup dialog box, click OK.
To close the ODBC Data Source Administrator, click OK.
If you are not signed in to your Google account, then you are prompted to sign in.