#Mac odbc manager library driver
For example:ĬData ODBC Driver for Teradata = Installed Testing the Connection
#Mac odbc manager library drivers
The ODBC Drivers section must also contain a property with the driver name, set to "Installed". dylib file located in the lib subfolder of the installation directory, by default in /Applications/CData ODBC Driver for Teradata.ĭriver = /Applications/CData ODBC Driver for Teradata/lib/libteradataodbc.dylib In this section, the Driver property specifies the path to the driver library. 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 Teradata Source = CData ODBC Driver for Teradata 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.Īdditionally, in the ODBC Data Sources section, the DSN must be set to a driver defined in the odbcinst.ini file.
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 Teradata 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 Teradata 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 Teradata 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. On macOS, the CData ODBC Driver for Teradata is preconfigured for use with the iODBC driver manager, as are many other products like Filemaker Pro, Microsoft Excel, and Tableau.