-->
Aug 07, 2020. Actual ODBC Driver for OpenBase for Mac OS v.2.2 Now you can access data from your OpenBase database using Microsoft Excel and FileMaker Pro. With the Actual ODBC Driver for OpenBase, you can connect quickly and easily to your database. Unlike other solutions, this driver installs completely on.; MySQL ODBC driver (32/64 bit) v.2.1 Devart ODBC Driver for MySQL provides high-performance.
We develop affordable, easy to use ODBC drivers for Mac OS, connecting Excel and FileMaker to Microsoft SQL Server, Oracle, Access, Sybase, MySQL and PostgreSQL. ODBC Manager is a replacement for Apple's ODBC administrator utility, which is no longer included with Mac OS X (starting with Snow Leopard). ODBC Manager also addresses some of the problems.
This article contains instructions to install the unixODBC Driver Manager for use with all the versions of Microsoft ODBC Driver for SQL Server on Linux and macOS.
Important
Delete any driver manager packages installed on your computer before you install the unixODBC Driver Manager. Installing the unixODBC Driver Manager could cause a failure of an existing Driver Manager.
Installing the Driver Manager for Microsoft ODBC Driver 13, 13.1, and 17
The driver manager dependency is resolved automatically by the package management system when you install the Microsoft ODBC Driver 13, 13.1, or 17 for SQL Server on Linux or macOS by following the instructions in the following articles:
Installing the Driver Manager for Microsoft ODBC Driver 11 for SQL Server
(SUSE and Red Hat Linux only.)
Using the Installation Script
Important
These instructions refer to msodbcsql-11.0.2270.0.tar.gz
, which is the installation file for Red Hat Linux. If you are installing the Preview for SUSE Linux, the file name is msodbcsql-11.0.2260.0.tar.gz
.
To install the driver manager:
Make sure that you have root permission.
Go to the directory where the MicrosoftSQL Server ODBC Driver download placed the file called
msodbcsql-11.0.2270.0.tar.gz
. Make sure that you have the *.tar.gz file that matches your version of Linux. To extract the files, execute the following command: tar xvzf msodbcsql-11.0.2270.0.tar.gz.Change to the
msodbcsql-11.0.2270.0
directory and there you should see a file calledbuild_dm.sh
. You can runbuild_dm.sh
to install the unixODBC Driver Manager.To see a list of the available options, execute the following command: ./build_dm.sh --help.
When you are ready to install, and if your computer can access an external site via FTP, execute the following command: ./build_dm.sh.
If your computer cannot access an external site via FTP, get unixODBC-2.3.0.tar.gz
. You can get unixODBC-2.3.0.tar.gz
from http://www.unixodbc.org. Click the Download link on the left side of the page to go to the download page. Then click the appropriate link to download unixODBC-2.3.0 (not unixODBC-2.3.1). unixODBC-2.3.1 is not supported with this release of the Microsoft ODBC Driver 11 for SQL Server. Execute the following command to begin the unixODBC Driver Manager installation: ./build_dm.sh --download-url=file://unixODBC-2.3.0.tar.gz.
Type YES to proceed with unpacking the files. This part of the process can take up to five minutes to complete.
After the script stops running, follow the instructions on the screen to install the unixODBC Driver Manager.
You are now ready to install the driver. For more information, see the ODBC driver installation instructions for Linuxor macOS.
Manual Installation
If the installation script is unable to complete, configure and build the proper driver manager yourself.
Remove any older installed version of unixODBC (for example, unixODBC 2.2.11). On Red Hat Enterprise Linux 5 or 6, execute the following command: yum remove unixODBC. On SUSE Linux Enterprise, zypper remove unixODBC.
Go to http://www.unixodbc.org. Click the Download link on the left side of the page to go to the download page. Then click the appropriate link to save the file unixODBC-2.3.0.tar.gz to your computer. UnixODBC-2.3.1 is not supported with this release of the Microsoft ODBC Driver 11 for SQL Server.
On your Linux computer, execute the command: tar xvzf unixODBC-2.3.0.tar.gz.
Change to the unixODBC-2.3.0 directory.
At a command prompt, execute the command: CPPFLAGS='-DSIZEOF_LONG_INT=8'.
At a command prompt, execute the command: export CPPFLAGS.
At a command prompt, execute the command: './configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --enable-gui=no --enable-drivers=no --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE'.
At a command prompt (logged in as root), execute the command: make.
At a command prompt (logged in as root), execute the command: make install.
You are now ready to install the driver. For more information, see the ODBC driver installation instructions for Linuxor macOS.
See Also
Question & Answer
Question
Answer
1. Download the ODBC driver ManagerOdbc Driver Manager Missing
from http://www.odbcmanager.net and install with the default settings.2. Download the IBM DB2 ODBC Driver from the 'IBM Data Server Driver' package within IBM Fix Central, for SPSS Modeler 18.0 FP1 this is 'DSClients-macos-dsdriver-11.1.1.1-FP001' that can be downloaded from:
https://www-945.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~Information%2BManagement&product=ibm/Information+Management/IBM+Data+Server+Client+Packages&release=11.1.*&platform=Mac+OSX&function=fixId&fixids=*macos_dsdriver*FP001*&includeSupersedes=0&source=fc
NOTE: for up-to-date information on supported ODBC drivers refer to the footnotes of the DB2 entry in the IBM SPSS Modeler Related Software Reports on the IBM Software Compatibility Reports for the version of SPSS Modeler that you are using, http://www-969.ibm.com/software/reports/compatibility/clarity/index.jsp
3. Install the ODBC driver:
a. Create a folder ‘dsdriver’ under /Applications
b. Double click the downloaded v11.1.1fp1_macos_dsdriver.dmg file and a 'dsdriver' window will open
c. Double click ‘installDSDriver’
4. Configure the ODBC Driver Manager and ODBC Driver
a. Open ODBC manager, and in Driver tab, add DB2 native driver. Specify ‘DB2 Native Driver’ in the 'Driver Name' slot and ‘/Applications/dsdriver/lib/libdb2.dylib’ in the 'Driver File' slot - no other information is required here.
b. In the 'System DSN' tab of ODBC Manager create a DB2 DSN
i. In the 'Choose a Driver' slot specify the 'DB2 Native Driver' you defined in 4.a. above
ii. Specify a DSN in the 'Data Source Name (DSN) slot, eg. 'DB2v11' and click on 'Add' to create the system DSN.
c. Configure the DB2 Native Driver to connect to your DB2 instance:
Define the DB2 server information in the config file db2dsdriver.cfg under /Applications/dsdriver/cfg. An example of this is (using the example DSN 'DB2v11' as specified in 4.b.ii. above):
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<configuration>
<dsncollection>
<dsn alias='DB2v11' host='<IP_or_HOST_NAME>' name='SAMPLE' port='50000'>
</dsn>
</dsncollection>
<databases>
<database host='<IP_or_HOST_NAME>' name='SAMPLE' port='50000'>
<parameter name='CommProtocol' value='TCPIP'/>
<parameter name='UID' value='<YOUR_DB2_USER_ID>'/>
<parameter name='EnableCharToWCharMapping' value='1'/>
<parameter name='XMLDefaultDescribeMapping' value='-98'/>
<parameter name='XMLDefaultCMapping' value='1'/>
<parameter name='LobAsLongDataMode' value='1'/>
</database>
</databases>
</configuration>
NOTE: Ensure the DSN in ODBC manager matches the one specified in the cfg file.
For more details of the configuration file, please refer to https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.swg.im.dbclient.config.doc/doc/c0054555.html
Also, if you need to use db2 commands to create or edit db2d2driver.cfg, or validate the contents of it, please add the profile file ‘db2profile’ under /Applications/dsdriver into your profile ($HOME/.profile).
You can validate the datasource you have defined outside of Modeler to ensure it is correctly defined by running the following from a terminal on the Mac, in the event of connections issues from within Modeler ensure this step succeeds and diagnose any issues with reference to the DB2 documentation:
db2cli validate -dsn <DSN> -connect -user <DB2USER> -passwd <DB2PASSWD>
substitute <DSN>, <DB2USER> and <DB2PASSWD> for the DSN you have created in db2dsdriver.cfg, and the DB2 username and password respectively.
Odbc Driver Manager Mac Download
Mysql Odbc Driver Mac
Document Information
Modified date:
19 September 2019