Oracle 5.0 Reference Manual page 1766

Table of Contents

Advertisement

shell>
su root
shell>
gunzip mysql-connector-odbc-5.2.2-i686-pc-linux.tar.gz
shell>
tar xvf mysql-connector-odbc-5.2.2-i686-pc-linux.tar
shell>
cd mysql-connector-odbc-5.2.2-i686-pc-linux
Read the installation instructions in the
Then see
Section 20.1.4.5, "Configuring a Connector/ODBC DSN on Unix"
Connector/ODBC. For more information, refer to the
20.1.3.2.2. Installing Connector/ODBC from an RPM Distribution
To install or upgrade Connector/ODBC from an RPM distribution on Linux, simply download the RPM
distribution of the latest version of Connector/ODBC and follow the instructions below. Use
become root, then install the RPM file.
If you are installing for the first time:
shell>
su root
shell>
rpm -ivh mysql-connector-odbc-5.2.2.i386.rpm
If the driver exists, upgrade it like this:
shell>
su root
shell>
rpm -Uvh mysql-connector-odbc-5.2.2.i386.rpm
If there is any dependency error for MySQL client library, libmysqlclient, simply ignore it by
supplying the
set through LD_LIBRARY_PATH.
This installs the driver libraries and related documents to
MyODBC, respectively. See
post-installation configuration steps.
To uninstall the driver, become
shell>
su root
shell>
rpm -e mysql-connector-odbc
20.1.3.3. Installing Connector/ODBC on Mac OS X
Mac OS X is based on the FreeBSD operating system, and you can normally use the MySQL network
port for connecting to MySQL servers on other hosts. Installing the Connector/ODBC driver lets you
connect to MySQL databases on any platform through the ODBC interface. If your application requires
an ODBC interface, install the Connector/ODBC driver. Applications that require or can use ODBC (and
therefore the Connector/ODBC driver) include ColdFusion, Filemaker Pro, 4th Dimension and many
other applications.
Mac OS X includes its own ODBC manager, based on the
administration tool that provides easier administration of ODBC drivers and configuration, updating the
underlying
iODBC
For Connector/ODBC 5.x, the package is provided as a compressed tar archive that you manually
install.
In either case, the driver is designed to work with the iODBC driver manager included with Mac OS X.
To install Connector/ODBC 5.x:
1. Download the installation file for the appropriate level of Mac OS X (10.5 or higher).
2. Extract the archive:
shell> tar xvzf mysql-connector-odbc-5.x.y-osx10.z-x86-(32|64)bit.tar.gz
Connector/ODBC Installation
option, and then make sure the MySQL client shared library is in the path or
--nodeps
Section 20.1.4.5, "Configuring a Connector/ODBC DSN on Unix"
root
configuration files.
file and execute these commands.
INSTALL
INSTALL
/usr/local/lib
and execute an
command:
rpm
iODBC
1746
to configure the DSN for
file that comes with your distribution.
and
/usr/share/doc/
manager. Mac OS X includes an
to
su root
for the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents