![]() ![]() ![]() The section name specifies the name of the driver. With iODBC, drivers can be available to only one user account or drivers can be available system wide.ĭrivers are defined in sections in the odbcinst.ini file. To register an ODBC driver, modify the odbcinst.ini file. You may need to modify the installed driver definition if you change the path to the driver library. For example, below is the entry for the DSN created during the driver install:ĬData Airtable Source = CData ODBC Driver for Airtable ViewNames=TableA.ViewA,TableA.ViewB.,TableX.ViewYĪdditionally, in the ODBC Data Sources section, the DSN must be set to a driver defined in the odbcinst.ini file. In addition to the connection properties required to connect to your data source, the Driver property specifies either a driver definition in the odbcinst.ini file or the path to the driver library. Modifying iODBC's system-wide settings requires elevated permissions to do so, you can use the sudo command to open a text editor from the terminal. System data sources can be accessed by all users. User data sources can only be accessed by the user account whose home folder the odbc.ini is located in. Register ODBC drivers in odbcinst.ini.ĭefine ODBC data sources in sections in the odbc.ini file. To create your own DSN, instead click Add on the User or System tab and then select the CData ODBC Driver for Airtable option.Ĭonfigure DSNs in odbc.ini. Select the DSN and click the Configure button to set connection properties as name-value pairs. Sudo /Applications/iODBC/iODBC\ Administrator64.app/Contents/MacOS/iODBC\ Administrator64Īfter opening the iODBC Administrator 64-bit, you will see the CData Airtable Source listed under the System tab. To do so, enter the following command into a terminal: To modify the system DSN installed by the driver or create a system DSN, open the iODBC Administrator 64-bit with elevated permissions. You can create user DSNs by opening the iODBC Administrator 64-bit from Launchpad. System data sources can be accessed by all users.Ĭonfiguring a DSN with the iODBC Administrator User data sources are restricted to a user account. Alternatively, you can edit the iODBC configuration files. The most recent version of the CData ODBC Driver for Airtable is 64-bit only. Note that the ODBC Manager must match the bitness of the ODBC driver. To configure a DSN, you can use the iODBC Administrator 64-bit, the GUI installed with iODBC. The driver must be registered with the driver manager and DSNs are defined in the driver manager's configuration files. The driver manager loads the driver and passes function calls from the application to the driver. The driver installation registers the driver with iODBC and creates a system DSN, which you can use in any tools or applications that support ODBC connectivity. You can find the latest version of iODBC on the iODBC site. Specify additional segments after the account locator.On macOS, the CData ODBC Driver for Airtable is preconfigured for use with the iODBC driver manager, as are many other products like Filemaker Pro, Microsoft Excel, and Tableau. The account uses a different cloud provider, you need to If the account is in a different region or if Note that testodbc2 uses an account in the AWS US West (Oregon) region. Testodbc2 uses the account locator xy12345 as the account identifier. Testodbc1 uses an account identifier that uses anĪccount identifier that specifies the account myaccount in the organization The following example illustrates an odbc.ini file that configures two data sources that use different forms of an For details about the parameters that can be set for each DSN, see ODBC Configuration and Connection Parameters. Parameters are specified in the form of =. Any connection parameters you add to the DSN do not need to be specified in the ODBC connect string.Īny additional parameters, such as default role, database, and warehouse. ĭirectory path and name of the driver file, in the form of Driver = /opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib.Ĭonnection parameters, such as server and uid (user login name). If you are creating the first DSNįor the driver, you must manually create the odbc.ini file and add the entry to the file.ĭSN name and driver name (Snowflake), in the form of =. If a user or system DSN has already been created for the driver, add the new entry to the odbc.ini file that already exists in the corresponding directory for the type of DSN you are creating. Creating a DSN by Adding an Entry in the odbc.ini File ¶ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |