PL/SQL 连接 Oralce 提示 Could not initialize oci.dll
更新:HHH   时间:2023-1-7



系统环境是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到想放的目录就好。



返回关系型数据库教程...