PL/SQL 连接 Oralce 提示 Could not initialize oci.dll

来源:这里教程网 时间:2026-03-03 12:44:13 作者:

系统环境是windows 2008 server 64位 PL/SQL是PLSQL Developer11.0.3.1770

Initialization error  
Could not initialize "C:\oracle\product\11.2.0\dbhome_1\bin\oci.dll"  
Make sure you have the 32 bits Oracle Client installed.  
  
OCIDLL forced to C:\oracle\product\11.2.0\dbhome_1\bin\oci.dll  
LoadLibrary(C:\oracle\product\11.2.0\dbhome_1\bin\oci.dll) returned 0

出现这个问题的原因是我的instantclient用的是64位的,而PL/SQL是32位的,所以报错。 解决办法是下载一个instantclient-basic-win32-11.2.0.1.0,copy到想放的目录就好。

相关推荐