navicat 连接Oracle 报错:Cannot load OCI DLL, 126

来源:互联网 发布:淮南大数据展示中心 编辑:程序博客网 时间:2024/04/24 17:30

32位系统下报错:cannot load OCI DLL,126

解决方法:navicat 菜单中 -工具->选项->OCI 选择oracle安装目录下bin里面的oci.dll

在windows Server 2008 下报错:cannot load OCI DLL,126

windows Server 2008 服务器上安装了Oracle 11g R2,在用Navicat去连接Oracle时,提示以下错误:

Cannot load OCI DLL, 126: Instant Client package is required for Baic and TNS connectionFor more information: http://wiki.navicat.com/wiki/index.php/Instant_client_required

查看上述链接页面提示,Navicat only support 32-bit instant client, 
因此,尽管我们安装了64位的Oracle,但由于Navicat仅支持32位的,因此我们还需下载一个32位的客户端, 
下载地址:

http://www.oracle.com/technetwork/topics/winsoft-085727.html。

以下为完整的解决方法:

Step 1:在上述地址中下载文件:instantclient-basic-nt-12.1.0.2.0.zip,

Step 2:解压此安装包至:D:/app/administrator/product/instantclient_2_2_x32

Step 3:打开Navicat,选择工具→选项→其他→OCI,然后设置OCI library为:D:app/administrator/product/instantclient_12_2_x32/oci.dll,设置SQL *plus为:D:/app/administrator/product/11.2.0/dbhome_1/BIN/sqlplus.exe。确定。

Step 4:测试成功。


0 0
原创粉丝点击