I want use PL/SQL Developer
first my oracle directory
C:\oracle\product\10.2.0\client_1\BIN
I use windows10 and environment variable setting
ORACLE_HOME C:\oracle\product\10.2.0\client_1
Path C:\oracle\product\10.2.0\client_1\BIN
but execute Initialization error.
Initialization error
Could not load "C:\oracle\product\10.2.0\client_1\bin\oci.dll"
OracleHomeKey: SOFTWARE\ORACLE\KEY_OraClient10g_home1
OracleHomeDir: C:\oracle\product\10.2.0\client_1
Found: oci.dll
Using: C:\oracle\product\10.2.0\client_1\bin\oci.dll
LoadLibrary(C:\oracle\product\10.2.0\client_1\bin\oci.dll) return 0
c:\oracle\instantclient
OCI.DLL
file path in the text box: c:\oracle\instantclient\oci.dll
I was getting below error while connecting to database from PL/SQL developer (in windows10 64 bit).
Initialization error Could not initialize "C:\app<username>\product\12.2.0\dbhome_1\bin\oci.dll"
Make sure you have the 32 bits Oracle Client installed.
OracleHomeKey:
OracleHomeDir: C:\app\<username>\product\12.2.0\dbhome_1
Found: oci.dll
Using: C:\app\<username>\product\12.2.0\dbhome_1\bin\oci.dll
LoadLibrary(C:\app\<username>\product\12.2.0\dbhome_1\bin\oci.dll)
return 0
To resolve this issue, refer to the below documentation provided by Oracle to install the Oracle Instant Client. If your windows is 64 bit, then download the 32 bit Oracle Instant Client from below link -
Oracle guide
Link to download the Oracle Instant Client - (Download the BASIC and SDK and SQL*Plus Package)
Take all the above three packages in one directory and extract the same and add the path of extracted directory in system environment variable PATH and OCI_LIB32 .
If OCI_LIB32 is not present then create the same.
Try to connect to database from PLSQL developer, if you getting error as 'ORACLE initialization or shutdown in progress' then go through the below link
Good Luck :)
I meet the same error on my new windows 10 computer. At last i found that i missed the Microsoft Visual Studio 2013 Redistributable . After i install it, the error gone.
检查环境变量 %PATH%
I had the similar problem and these steps did helped me
steps:
Most of the cases this happens
In this case, you can download instant client and put it in C drive, then copy the path of the oci.dll file path and put it in the OCI library text field in the PL SQL Dev config option
If you have multiple homes reflecting, then check the correct oracle home from the Oracle Home drop down in PLSQL Dev config option.
Attached the image of the config screen for easy reference.
下载oracle客户端后使用PL/SQL连接
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.