Connector/ODBC Installation
1745
Although Oracle recommends installing these files in the standard location, you can also copy the files
by hand to an alternative location - for example, to run or test different versions of the Connector/ODBC
driver on the same machine. To copy the files to a location of your choice, use the following steps:
1. Unzip the Connector/ODBC zipped DLL package.
2. Open a command prompt.
3. Change to the directory created when you unzipped the Connector/ODBC zipped DLL package.
4. Copy the library files to a suitable directory. The default location is the default Windows system
directory
\Windows\System32
:
C:\>
copy lib\myodbc5S.dll \Windows\System32
C:\>
copy lib\myodbc5S.lib \Windows\System32
If installing the Unicode-enabled driver:
C:\>
copy lib\myodbc5w.dll \Windows\System32
C:\>
copy lib\myodbc5w.lib \Windows\System32
If installing the ANSI driver:
C:\>
copy lib\myodbc5a.dll \Windows\System32
C:\>
copy lib\myodbc5a.lib \Windows\System32
5. Copy the Connector/ODBC tools. These must be placed in a directory that is in the system
%PATH%
.
The default is to install these into the Windows system directory
\Windows\System32
:
C:\>
copy bin\myodbc3i.exe \Windows\System32
C:\>
copy bin\myodbc3m.exe \Windows\System32
C:\>
copy bin\myodbc3c.exe \Windows\System32
6. Optionally, copy the help files. For these files to be accessible through the help system, they must
be installed in the Windows system directory:
C:\>
copy doc\*.hlp \Windows\System32
7. Finally, register the Connector/ODBC driver with the ODBC manager:
For Unicode-enabled driver:
C:\>
myodbc3i -a -d -t"MySQL ODBC 5.2 Driver;\
DRIVER=myodbc5w.dll;SETUP=myodbc5S.dll"
For ANSI driver:
C:\>
myodbc3i -a -d -t"MySQL ODBC 5.2 Driver;\
DRIVER=myodbc5a.dll;SETUP=myodbc5S.dll"
If you installed these files into a non-default location, change the references to the DLL files and
command location in the above statement
20.1.3.2. Installing Connector/ODBC on Unix
There are two methods available for installing Connector/ODBC on Unix from a binary distribution. For
most Unix environments, you will use the tarball distribution. For Linux systems, there is also an RPM
distribution available.
Note
To install Connector/ODBC 5.x on Unix requires unixODBC 2.2.12 or later to be
installed.
20.1.3.2.1. Installing Connector/ODBC from a Binary Tarball Distribution
To install the driver from a tarball distribution (
.tar.gz
file), download the latest version of the
driver for your operating system and follow these steps that demonstrate the process using the Linux
version of the tarball, substituting the appropriate file and directory names based on the package you
download:
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...