全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 问答详情

orcle 链接能不能出个详细教程啊。

数据库 61次浏览

: Oracle connect error: Error: NJS-045: cannot load a node-oracledb Thick mode binary for Node.js. Please try using Thin mode.

D:\oracle\instantclient_19_26      从19换到11_2 还是报这个 是不是node.js的兼容性很差啊。。。。。

| 0 收藏

1 个回答

Oracle数据库配置

连接 Oracle 数据库,需要先下载并安装 Oracle Instant Client ,下载地址:https://www.oracle.com/database/technologies/instant-client/downloads.html

暂时无法在飞书文档外展示此内容

安装说明

Windows 版

  1. 下载对应 Windows 版本 Instant Client ZIP 文件,如instantclient-basic-windows.x64-19.10.0.0.0dbru.zip。
  2. 解压ZIP 文件到指定目录,(创建一个Oracle文件,将压缩包解压到文件中)。
  3. 将上述指定目录添加到环境变量 PATH 里(参考文档:windows10设置环境变量PATH-百度经验)。
  4. 重启 。

macOS 版

  1. 下载对应 MacOS 版本 Instant Client ZIP 文件,如instantclient-basic-macos.x64-19.8.0.0.0dbru.zip。
  2. 解压ZIP 文件到指定目录,如:~/oracle/instantclient_19_8/。
  3. 运行下方命令将上述指定目录里的 libclntsh.dylib 文件软链到 /usr/local/lib :
  4. ln -s ~/oracle/instantclient_19_8/libclntsh.dylib /usr/local/lib
  5. 重启 Apifox。
  6. 更多信息参考官方文档

Linux 版

参考官方文档里的说明:https://www.oracle.com/database/technologies/instant-client/downloads.html

Apipost 私有化火热进行中

撰写答案

只服务于

前后端、移动端、测试人员

提问题 发布您遇到的Bug和问题,上万名大牛和开发者来帮您解决!