Меню Рубрики

Установка oracle instant client windows

huh-muh

ламер с дебианом aka обезьяна с гранатой

четверг, 26 октября 2017 г.

Windows: установка Oracle Instant Client

Понадобилось тут прицепиться из-под Windows 2003 к базе на Oracle 11g, если не ошибаюсь. Гугль вывел на страницу загрузки разных вариантов Oracle Instant Client.

Под линуксом всё оказалось просто: скачал нужный архив, распаковал из него папку instantclient_12_2, в строгом соответствии с инструкциями сделал пару линков на нужные библиотеки, прописал в /etc/ld.so.conf полный путь этого самого instantclient_12_2 и вызвал ldconfig. Всё. SQL*Plus сразу начал цепляться куда надо, и осталась одна проблема: Python 2.7 через cx_Oracle не сразу понял русские буквы, и потребовалось добавить в начало скрипта конструкцию:
А для SQL*Plus не потребовалось и этого.

Иное дело Windows 2003. Под ним я тоже распаковал instantclient_12_2, в эту же папку сгрузил файлы из архивов для ODBC и SQL*Plus, добавил её полный путь в системную переменную окружения PATH и попытался создать системный DSN. Безуспешно. На экран вывалились одна за одной ошибки «Не удается загрузить программы установки для драйвера ODBC Oracle in instantclient_12_2 из-за системной ошибки с кодом 127» и «Не удается загрузить программу установки или библиотеку транслятора», и начался квест, закончившийся полным провалом. Ставлю Microsoft Visual Studio 2013 Redistributable — не помогает. Нахожу замечательную утилиту Dependency Walker 2.2, которая, по аналогии с линуксовой ldd показывает зависимости библиотек, натравливаю её на sqora32.dll и sqoras32.dll, выясняется, что этим библиотекам для счастья нужны mfc110.dll и msvcr110.dll, нахожу их в установленных каких-то левых программах, копирую в instantclient_12_2 — всё без толку. Мало того, даже sqlplus.exe запускаться не желает. Может, в оракле перепутали 32-х и 64-х битную версии?

Разбираться не стал. Снёс Instant Client 12.2, поставил Instant Client 11.2. Тому тоже не хватает библиотек, на этот раз mfc80.dll и msvcr80.dll. Их найти легче, у меня они валялись в установленном клиенте SQL Server 2005. Подпихнул их в папку instantclient_11_2, окно настройки свойств подключения появилось.

Источник

Установка oracle instant client windows

OML4R requires Oracle Database client software.

Oracle Instant Client is suitable for most configurations of OML4R .

This topic includes these sections:

  • Installing Oracle Database Instant Client on Windows
    Instructions for installing Oracle Database Instant Client on Windows.
  • Install Oracle Database Instant Client on Linux or UNIX
    You can install Oracle Database Instant Client from a zip file on Linux or UNIX systems.

Related Topics

6.2.1 Installing Oracle Database Instant Client on Windows

Instructions for installing Oracle Database Instant Client on Windows.

To Install Oracle Instant Client on Windows:

Create an installation directory for the OML4R client components. For example:

In the Get Oracle Instant Client section, select Downloads .

On the Oracle Instant Client Downloads page, select Instant Client for Microsoft Windows (x64) .

Choose Instant Client Package — Basic for your version of Oracle Database.

Save the file in the installation directory that you created in Step 1. For example:

Unzip the file. The files are extracted into a subdirectory called instantclient_ version , where version is your version of Oracle Database. For example:

Return to the Instant Client Downloads for Microsoft Windows (x64) page.

Accept the license agreement and select Instant Client Package — SDK for your version of Oracle Database.

Save the file in the installation directory that you created in Step 1.

Unzip the file. The files are extracted into the instantclient_ version subdirectory.

Add the full path of the Instant Client to the environment variables OCI_LIB64 and PATH . The following steps set the variables to the path used in this example, c:\myoml4rclient\instantclient_12_1 :

In Windows Control Panel, choose System , then click Advanced system settings .

On the Advanced tab, click Environment Variables .

Under System variables , create OCI_LIB64 if it does not already exist. Set the value of OCI_LIB64 to c:\oml4rclient\instantclient_12_1 .

Under System variables , edit PATH to include c:\oml4rclient\instantclient_12_1 .

Источник

Установка oracle instant client windows

Your search did not match any results.

We suggest you try the following to help find what you’re looking for:

  • Check the spelling of your keyword search.
  • Use synonyms for the keyword you typed, for example, try “application” instead of “software.”
  • Try one of the popular searches shown below.
  • Start a new search.
Trending Questions

Instant Client Downloads for Microsoft Windows (x64) 64-bit

See the Instant Client Home Page for more information about Instant Client.

The installation instructions are at the foot of the page.

Oracle Client-to-Oracle Database version interoperability is detailed in Doc ID 207303.1. For example, applications using Oracle Call Interface 19 can connect to Oracle Database 11.2 or later. Some tools may have other restrictions.

Version 19.8.0.0.0

Base — one of these packages is required

Download

Description

(82,036,226 bytes) (cksum — 3891459020)

Smaller version of the Basic package, with only English error messages and Unicode, ASCII, and Western European character set support

(4,178,4676 bytes) (cksum — 3435288399)

Tools — optional packages

Download

Description

(973,434 bytes) (cksum — 2748755340)

(1,206,115 bytes) (cksum — 3635091447)

Development and Runtime — optional packages

Download

Description

Additional header files and an example makefile for developing Oracle applications with Instant Client

(1,859,198 bytes) (cksum — 3981908893)

(1,586,258 bytes) (cksum — 295234667)

(862,733 bytes) (cksum — 2166699497)

Precompiler Package Precompiler Downloads Additional files for Pro*C and Pro*COBOL

Version 18.5.0.0.0

Base — one of these packages is required

Download

Description

(77,769,261 bytes) (cksum — 1317689833)

Instant Client Installation for Microsoft Windows 64-bit

See the Instant Client Home Page for more information about Instant Client packages.

Client-server version interoperability is detailed in Doc ID 207303.1. For example, Oracle Call Interface 19, 18 and 12.2 can connect to Oracle Database 11.2 or later. Some tools may have other restrictions.

  1. Download the appropriate Instant Client packages for your platform. All installations require the Basic or Basic Light package.
  2. Unzip the packages into a single directory such as C:\oracle\instantclient_19_3
  3. Add this directory to the PATH environment variable. If you have multiple versions of Oracle libraries installed, make sure the new directory occurs first in the path. Restart any terminal windows or otherwise make sure the new PATH is used by your applications.
  4. Download and install the correct Visual Studio Redistributable from Microsoft. Instant Client 19 requires the Visual Studio 2017 redistributable. Instant Client 18 and 12.2 require the Visual Studio 2013 redistributable. Instant Client 12.1 requires the Visual Studio 2010 redistributable.
  5. If you intend to co-locate optional Oracle configuration files such as tnsnames.ora, sqlnet.ora, ldap.ora, or oraaccess.xml with Instant Client, then create a subdirectory such as C:\oracle\instantclient_19_3\network\admin

This is the default Oracle client configuration directory for applications linked with this Instant Client.

Alternatively, Oracle client configuration files can be put in another, accessible directory. Then set the environment variable TNS_ADMIN to that directory name.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Установка oracle 11g windows 2012 r2
  • Установка oracle 10g на windows
  • Установка opengl на windows 7
  • Установка opencv python windows
  • Установка onedrive windows 10