64位:Navicat无法连接Oracle11g:CannotloadOCIDLL87

错误描述

安装oracle 11g r2,在用navicat去连接oracle时,提示以下错误:

..* * * net admin error .

或者

cannot load oci dll, 126: instant client package is required for baic and tns connection

for more information: https://wiki.navicat.com/wiki/index.php/instant_client_required

错误原因

本地安装的是64位的oracle,但由于navicat仅支持32位的,因此我们还需下载一个32位的客户端。

解决方案

下载32位客户端,配置进navicat中

下载地址:https://www.oracle.com/technetwork/topics/winsoft-085727.html

第1步:在上述地址中下载文件:instantclient-basic-nt-11.2.0.3.0.zip

第2步:解压此安装包,并将解压出的文件合并到:d:\app\david\product\instantclient_11_2

第3步:打开navicat,选择工具→选项→其他→oci,

设置oci library为:d:\app\david\product\instantclient_11_2\oci.dll

点击确定。

第4步:测试成功

(0)
上一篇 2022年3月22日
下一篇 2022年3月22日

相关推荐