Два КСлова про Oracle — установка ODBC-драйвера. Насколько просто поставить себе ODBC-драйвера от Oracle? Установка odbc драйвера oracle

  • The Easysoft Oracle® ODBC Driver blew us away.

    Senior Data Manager, USA

  • Straightforward, brilliantly priced products - what else can I say!

    Database Manager, USA

  • Been using your drivers for many years now and we are impressed with the quality and price of them.

    Program Manager, USA

  • Thank you so much for your continuous support. The Easysoft driver was indeed excellent, easy and reliable.

  • Found Easysoft Sales staff to be incredibly knowledgeable and helpful.

    Retailer, South Africa

  • Whenever we need them for assistance or advice, the team at Easysoft is always a phone call away and ready to help.

    Data Manager, UK

  • I just wanted to let you know about the exemplary service I received from one of your support staff yesterday.

    Senior Project Manager, Law Firm, UK

  • Unsure about your services at first we are so pleased that we did choose Easysoft.

    Project Manager, USA

Oracle® ODBC Driver

Is getting to your data slowing the growth of your business? Need an Oracle® ODBC driver that is best in class?

Our super fast Oracle® ODBC driver simply allows any ODBC-enabled application to access Oracle® databases; as you would expect from Easysoft, our driver connects from Windows (both 32-bit and 64-bit versions), Linux and Unix, and we support all the major versions of Oracle® (including the latest). Take a look at the technical description below for more information.

As you would imagine from a company that prides itself on its "customer first" focus, the driver is easy to install and our support team is here to help you with any difficulties or questions that you might have. We are rightly proud of our support team, and any problems you might have are usually resolved within 24 hours; free drivers cannot offer you such a support service.

As with all of our drivers, this Oracle® ODBC driver offers ODBC 3.5 support.

Easysoft is an Oracle® Gold Partner.

Oracle® ODBC Driver for 8, 9i , 10g , XE, 11g , 12c and 18c

The Easysoft ODBC-Oracle Driver lets ODBC-enabled applications access Oracle® databases from . It supports Oracle® 8.1.7+, 9i .x, 10g Release 1+, Oracle® Database 10g Express Edition (Oracle Database XE) , 11g Release 1+, 12c Release 1+ and 18c.

There are two versions of the Easysoft ODBC-Oracle Driver: an Oracle® Call Interface (OCI) version and a Wire Protocol (WP) version.

The Easysoft ODBC-Oracle Driver (OCI version) uses Oracle® client software to access the Oracle® database. This is Oracle’s only supported method for accessing the Oracle® database. The driver is compatible with the standard Oracle® Database Client or the Instant Client .

The Oracle® client software provides the most comprehensive access to Oracle® database functionality. For example, the Oracle® Advanced Security option is an Oracle® client or server add-on that combines network encryption, database encryption and strong authentication to protect sensitive data stored in Oracle® databases. Applications that access Oracle® by using the Easysoft ODBC-Oracle Driver can take advantage of the Oracle® Advanced Security option. This is not true of some of the Easysoft ODBC-Oracle Driver’s competitor’s products.

Drivers that do not use the Oracle® client software do not support features offered by the Oracle® client software.

Even if you do not currently need the additional functionality provided by a client add-on, using the Easysoft ODBC-Oracle Driver gives you the option to add it later, should your requirements change.

The Easysoft ODBC-Oracle Driver (WP version), which does not use Oracle® client software, provides direct access to Oracle®, for use in solutions where minimising the client footprint is a requirement.

The Easysoft ODBC-Oracle Driver can be installed either on the Oracle® database server or a remote client machine.

The Easysoft ODBC-Oracle Driver:

  • Conforms to the ODBC 3.5 specification .
  • Works with ODBC 2.0, 2.5, 3.0 and 3.5 applications . Supported programming interfaces include Perl DBI and DBD::ODBC , Python mxODBC and pyodbc and PHP . Supported applications include ApplixWare, OpenOffice.org , StarOffice , Microsoft Access and Microsoft Excel.
  • Is available in both 32 bit and 64 bit Oracle® ODBC Driver versions.
  • Supports Oracle® Native SQL syntax.
  • Works with the Oracle® Database Client and the Instant Client.
  • Uses Oracle® Net or Net8 and client libraries, ensuring client/server compatibility.
  • Uses Oracle® client configuration settings, simplifying configuration and data source administration.
  • Allows access to Oracle® Real Application Clusters (RAC) . An Oracle® RAC database spans multiple low-cost servers yet appears to an application as a single, unified database system. RAC combines the processing power of these servers to provide system redundancy, scalability, and high availability.
  • Provides full support for all Oracle® data types , including LONG and large objects (LOBs).
  • Supports transactions.
  • Can take part in .
  • Is compatible with Oracle® Advanced Security features including data integrity protection , data encryption and strong authentication using third party services such as Kerberos and Remote Authentication Dial-In User Service (RADIUS).
  • Is compatible with and includes unixODBC, the open source ODBC Driver Manager for non-Windows platforms. The Easysoft ODBC-Oracle Driver installation can automatically install the driver into unixODBC, making the ODBC-Oracle Driver immediately available to your ODBC applications. The unixODBC project is currently led by Easysoft developer Nick Gorham and we have many years of experience in supporting and testing our drivers with unixODBC.
  • Is thread-safe and therefore safe to use behind multi-threaded applications.
  • Lets you configure ODBC calls to reduce metadata and increase performance.
  • Lets you generate diagnostic trace logs that enable you to monitor the ODBC calls an application makes. This helps you diagnose problems.

Demos

Installing the Easysoft Limited Oracle® ODBC Driver on Linux

)

Installing the Easysoft Limited Oracle® ODBC Driver on Linux in less than 60 seconds

Diagrams

Easysoft ODBC-Oracle Driver:

Easysoft ODBC-Oracle WP Driver:

Platforms

The Easysoft ODBC-Oracle Driver (OCI version) is currently available on these platforms:

Version Platform Distribution
v3.7 (Oracle 8.1.7 - 18) AIX (PPC) (32 - Bit) (4.3-7.2)
v3.7 (Oracle 8.1.7 - 18) AIX (PPC) (64 - Bit) (5.0-7.2)
v3.7 (Oracle 8.1.7 - 18) HP-UX (PA-Risc) (32 - Bit) (11)
v3.7 (Oracle 8.1.7 - 18) HP-UX (PA-Risc 2) (64 - Bit) (11)
v3.7 (Oracle 8.1.7 - 18) Linux (x86) (32 - Bit)
v3.7 (Oracle 8.1.7 - 18) Linux (x86) (64 - Bit)
v3.7 (Oracle 8.1.7 - 18) Solaris (Sparc) (32 - Bit) (2.6-2.11)
v3.7 (Oracle 8.1.7 - 18) Solaris (Sparc) (64 - Bit) (2.8-2.11)
v3.7 (Oracle 8.1.7 - 18) Solaris (x86) (32 - Bit) (2.8-2.11)
v3.7 (Oracle 8.1.7 - 18) Solaris (x86) (64 - Bit) (2.8-2.11)
v3.6 (Oracle 8.1.7 - 12)
v3.5 (Oracle 8.1.7 - 12) (11i)
v3.5 (Oracle 8.1.7 - 12) (11i)
v3.5 (Oracle 8.1.7 - 12) (2000, XP, 2003, Vista, 2008, 2008 R2, 7, 8, 2012 R2)

The Easysoft ODBC-Oracle Driver (WP version) driver is currently available on these platforms:

Version Platform Distribution
v1.3 (Oracle 8.1.7 - 18) AIX (PPC) (32 - Bit) (4.3-7.2)
v1.3 (Oracle 8.1.7 - 18) AIX (PPC) (64 - Bit) (5.0-7.2)
v1.3 (Oracle 8.1.7 - 18) HP-UX (PA-Risc) (32 - Bit) (11)
v1.3 (Oracle 8.1.7 - 18) HP-UX (PA-Risc 2) (64 - Bit) (11)
v1.3 (Oracle 8.1.7 - 18) Linux (ARMv71) (32 - Bit) (Raspberry Pi, kernel 4.9.41-v7+, glibc 2.24+)
v1.3 (Oracle 8.1.7 - 18) Linux (x86) (32 - Bit) (kernel 2.2-4.0+, glibc 2.1+)
v1.3 (Oracle 8.1.7 - 18) Linux (x86) (64 - Bit) (kernel 2.6-4.0+, glibc 2.3.5+)
v1.3 (Oracle 8.1.7 - 18) Solaris (Sparc) (32 - Bit) (2.6-2.11)
v1.3 (Oracle 8.1.7 - 18) Solaris (Sparc) (64 - Bit) (2.8-2.11)
v1.3 (Oracle 8.1.7 - 18) Solaris (x86) (32 - Bit) (2.8-2.11)
v1.3 (Oracle 8.1.7 - 18) Solaris (x86) (64 - Bit) (2.8-2.11)
v1.3 (Oracle 8.1.7 - 18) Windows (x86) (32 - Bit, 64 - Bit) (7, 8, 2012 R2, 10, 2016)
v1.2 (Oracle 8.1.7 - 12) Linux (Itanium i64) (64 - Bit) (kernel 2.4-3.0+, glibc 2.2.5)
v1.1 (Oracle 8.1.7 - 12) HP-UX (Itanium i64) (32 - Bit) (11i)
v1.1 (Oracle 8.1.7 - 12) HP-UX (Itanium i64) (64 - Bit) (11i)

HP Integrity Ready

The Easysoft ODBC-Oracle Driver for HP-UX and Linux Itanium was built and tested on HP Integrity Servers, which offer maximum hardware potential, reduced costs and unsurpassable performance.

In Softonic we scan all the files hosted on our platform to assess and avoid any potential harm for your device. Our team performs checks each time a new file is uploaded and periodically reviews files to confirm or update their status. This comprehensive process allows us to set a status for any downloadable file as follows:

    It’s extremely likely that this software program is clean.

    What does this mean?

    We have scanned the file and URLs associated with this software program in more than 50 of the world"s leading antivirus services; no possible threat has been detected.

    This software program is potentially malicious or may contain unwanted bundled software.

    Why is the software program still available?

    Based on our scan system, we have determined that these flags are possibly false positives .

    What is a false positive?

    It means a benign program is wrongfully flagged as malicious due to an overly broad detection signature or algorithm used in an antivirus program.

    It’s highly probable this software program is malicious or contains unwanted bundled software.

    Why is this software program no longer available in our Catalog?

    Based on our scan system, we have determined that these flags are likely to be real positives.

We’d like to highlight that from time to time, we may miss a potentially malicious software program. To continue promising you a malware-free catalog of programs and apps, our team has integrated a Report Software feature in every catalog page that loops your feedback back to us.

Flag any particular issues you may encounter and Softonic will address those concerns as soon as possible.

В наш грандиозный век* гигагерц и терабайт многие успели забыть о таком замечательном API как ODBC . Замечательность его в том, что программа может работать с любым сервером баз данных (или даже с локальными данными, например, файлами DBF) при помощи одних и тех же функций. Сегодня большинство программистов пишут приложения** на Delphi с использованием BDE или же на всевозможных платформах от Microsoft с использованием ADO , DAO , MDAC *** и прочих модных технологий . Однако, если копнуть поглубже, в основе всех технологий от Microsoft лежит именно ODBC.

Я использую ODBC для доступа к Oracle из Excel через DAO (это отдельная большая тема, к которой я ещё планирую вернуться). Да, я знаю, что есть Oracle Objects for OLE, но «так исторически сложилось».

Случилось так, что написав очередное приложение, я обнаружил, что оно не работает на большинстве компьютеров нашей компании. Почему? Ответ нашёлся достаточно быстро — клиент Oracle установлен некорректно, и ODBC-драйвер не работает. Казалось бы, какие проблемы? Драйвера свободно раздаются на OTN , скачиваешь и ставишь. Так-то оно так, но для того, чтобы установить эти драйвера, нужен Могучий Инструмент (mightful tool) под названием Oracle Universal Installer, который «весит» около 60 мегабайт, да ещё и написан на Java. Мало того, что один только запуск этого приложения отнимает добрых две-три минуты, так оно в добавок тоже не хотело работать на наших компьютерах. Пришлось разбираться, как обойтись без него.

Результаты потрясают воображение.

Итак, архив с драйвером занимает около 1.4 M . Те файлы, которые нам необходимы, в неархивированном виде занимают около 900 K. Всё остальное — загадочная служебная информация.

При выборе версии роль играют первые два числа. Так, для клиента 8.1.x я брал драйвер версии 8.1.7.8.10, а для клиента 9.2.x — 9.2.0.6.0. Все нужные нам файлы хранятся в трёх архивах, находящихся в одном из подкаталогов дерева, получившегося после разархивирования скачанного с OTN файла. Путь к этому подкаталогу (внимание!) — stage\Disk1\stage\Components\oracle.p2k.odbc\<версия>\1\DataFiles . Для удобства дальнейшей работы перепишем все файлы из этих архивов в отдельный каталог, а то, что осталось, безжалостно удалим. Мало того, даже из этих файлов нам понадобится не всё. Вот список файлов для драйвера версии 8.1.x:

14.05.2003 05:29 218 ORAODBC.INI 14.05.2003 05:29 2543 sqora.cnt 14.05.2003 05:30 95505 sqora.hlp 23.10.2003 14:21 507904 sqora32.dll 23.10.2003 14:22 61440 sqoras32.dll 23.10.2003 14:23 32768 sqresus.dll 14.05.2003 05:29 11776 DECKAN32.DLL 14.05.2003 05:30 12288 oraodbcus.msb

А вот тут — для версии 9.2.x:

13.05.2003 10:49 218 ORAODBC.INI 07.11.2003 13:14 2479 sqora.cnt 07.11.2003 13:14 112260 sqora.hlp 29.01.2004 09:50 425984 sqora32.dll 29.01.2004 09:50 61440 sqoras32.dll 29.01.2004 09:50 32768 sqresus.dll 13.05.2003 10:49 11776 DECKAN32.DLL 13.05.2003 11:49 13312 oraodbcus.msb

Списки файлов, как видно, не отличаются друг от друга.

Теперь надо во-первых, скопировать файлы туда, куда нужно, и во-вторых, сделать запись в реестре о том, что драйвер установлен. Обладатели Windows NT/2000/XP могут воспользоваться следующим batch-файлом:

@echo off set INSTALLHELP=NO regedit /ea %TEMP%\oh.reg HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0 for /F %%i in ("find """ORACLE_HOME""" ^< %TEMP%\oh.reg") do (set ALLKEY=%%i) set RKEY=%ALLKEY:~15,-1% set KEY=%RKEY:\\=\% copy /Y %~dp0oraodbc.reg %TEMP%\oh.reg > nul 2> nul echo "Setup"="%RKEY%\\bin\\SQORAS32.DLL" >>%TEMP%\oh.reg echo "Driver"="%RKEY%\\bin\\SQORA32.DLL" >>%TEMP%\oh.reg regedit /s %TEMP%\oh.reg copy /Y oraodbc.ini %WINDIR% > nul 2> nul if %INSTALLHELP%==YES (for %%i in (%~dp0sqora.hlp %~dp0sqora.cnt) do (copy /Y %%i %WINDIR%\System32 > nul 2> nul )) for %%i in (%~dp0sqora32.dll %~dp0sqoras32.dll %~dp0sqresus.dll) do (copy /Y %%i %KEY%\bin > nul 2> nul ) mkdir %KEY%\ODBC > nul 2> nul copy /Y %~dp0DECKAN32.DLL %KEY%\ODBC > nul 2> nul mkdir %KEY%\ODBC\mesg > nul 2> nul copy /Y %~dp0oraodbcus.msb %KEY%\ODBC\mesg > nul 2> nul echo Oracle ODBC Driver is installed

Обладатели же Windows 95/98/ME могут снести свою оболочку и установить нормальную систему или же скопировать sq*.dll в каталог ORACLE_HOME\bin , oraodbc.ini в каталог C:\WINDOWS , deckan32.dll в ORACLE_HOME\ODBC , а oraodbcus.msb — в ORACLE_HOME\ODBC\Mesg .

В batch-файле упоминается файл oraodbc.reg . Вот он:

REGEDIT4 "Oracle ODBC Driver"="Installed" "APILevel"="1" "CPTimeout"="60" "ConnectFunctions"="YYY" "DriverODBCVer"="03.51" "FileUsage"="0" "SQLLevel"="1"

Пользователям Windows семейства NT беспокоиться не о чем — batch сам выполнит всю необходимую работу, а вот поклонникам/заложникам 9x придётся вручную добавить к этому файлу две строки:

"Setup"="ORACLE_HOME\\bin\\SQORAS32.DLL" "Driver"="ORACLE_HOME\\bin\\SQORA32.DLL"

разумеется, подставив вместо ORACLE_HOME имя каталога, куда установлен клиент Oracle.

Ну, и наконец, финальный аккорд — создание Data Source, то есть источника данных. Обычно это делается через панель управления, но в конечном счёте, всё сводится к записи в реестр. Вот пример такой записи:

REGEDIT4 "ora92"="Oracle ODBC Driver" "Driver"="C:\\progra~1\\oracle\\ora92\\BIN\\SQORA32.DLL" "Translation DLL"="" "Translation Option"="0" "Attributes"="W" "PrefetchCount"="10" "ForceWCHAR"="F" "FailoverDelay"="10" "FailoverRetryCount"="10" "MetadataIdDefault"="F" "Longs"="F" "CloseCursor"="T" "EXECSchemaOpt"="" "EXECSyntax"="F" "Application Attributes"="T" "SQLGetData extensions"="F" "ResultSets"="T" "QueryTimeout"="F" "Failover"="F" "Lobs"="T" "DisableMTS"="F" "BatchAutocommitMode"="IfAllSuccessful" "Description"="ORACLE 9.2" "ServerName"="" "Password"="" "UserID"="" "DSN"="ora92"

В данном случае ora92 — имя источника. Оно встречается трижды — как название переменной в ключе ODBC Data Sources , как название ключа и как значение переменной DSN в этом ключе. В переменной Driver указывается полный путь к драйверу — пользователям Windows NT не составит труда получить его тем же способом, что и в инсталляторе. Обратите внимание, что клиент Oracle не воспринимает пробелы в путях, поэтому надо использовать короткие имена. Ну, и наконец, переменные ServerName , Password и UserId я не заполняю — предпочитаю делать это в вызывающей программе, но вы можете заполнить их прямо в реестре.

Дочитавшим эту статью до конца желаю надёжных дисков и достоверных данных!

* Для тех, кто понимает: цитата из повести Юрия Сотника «Эликсир Купрума Эса»
** Говорят, что программа не должна быть больше, чем 64 К. Всё, что больше, уже не программа, а приложение.
*** Бытует шутка, что в недрах Microsoft уже готова новая разработка — Microsoft Universal Data Access Components.