当前位置:网站首页>Navicat連接Oracle數據庫報錯ORA-28547或ORA-03135
Navicat連接Oracle數據庫報錯ORA-28547或ORA-03135
2022-07-05 06:05:00 【郎涯技術】
Navicat Preminm 12 or 15 連接 Oracle 數據庫時,報錯:ORA-03135: connection lost contact...

原因
Oracle Instant Client 的版本不對
下載驅動
- 通過如下命令,獲取安裝 Oracle 服務器的版本號
`select * from v$version`
- 確定了 Oracle 數據庫的版本後,下載 Oracle Instant Client 客戶端
下載網址:https://www.oracle.com/cn/database/technologies/instant-client/downloads.html
選擇對應操作系統的 Oracle Instant Client 客戶端,如 windows

下載對應版本的 InstantClient-basic 和 InstantClient-sqlplus,我這裏的是 Version 12.2.x

- 解壓文件到軟件安裝的比特置的文件夾 Instantclient_xx_x 裏面,如 instantclient_12_2

配置 Navicat
打開 Navicat 客戶單工具,選擇 工具 -> 選項 菜單,在打開的對話框中選擇 環境 標簽
設置 SQL*Plus 的可執行文件 sqlplus.exe 與 OCI 環境的 oci.dll 文件為剛下載解壓後的對應文件,如下圖所示:

配置完畢後,重啟Navicat!!!
連接測試
輸入主機、端口、服務名、用戶名與密碼信息,點擊連接測試,測試是否配置成功

边栏推荐
猜你喜欢

Some common problems in the assessment of network engineers: WLAN, BGP, switch

Sword finger offer 06 Print linked list from beginning to end

Sword finger offer 53 - ii Missing numbers from 0 to n-1

API related to TCP connection

EOJ 2021.10 E. XOR tree

LaMDA 不可能觉醒吗?

leetcode-6111:螺旋矩阵 IV

全排列的代码 (递归写法)

【Jailhouse 文章】Jailhouse Hypervisor
![[article de jailhouse] jailhouse hypervisor](/img/f4/4809b236067d3007fa5835bbfe5f48.png)
[article de jailhouse] jailhouse hypervisor
随机推荐
SPI 详解
QT判断界面当前点击的按钮和当前鼠标坐标
Wazuh開源主機安全解决方案的簡介與使用體驗
多屏电脑截屏会把多屏连着截下来,而不是只截当前屏
LVS简介【暂未完成(半成品)】
EOJ 2021.10 E. XOR tree
js快速将json数据转换为url参数
927. 三等分 模拟
对for(var i = 0;i < 5;i++) {setTimeout(() => console.log(i),1000)}的深入分析
做 SQL 性能优化真是让人干瞪眼
【Rust 笔记】13-迭代器(中)
Dynamic planning solution ideas and summary (30000 words)
个人开发的渗透测试工具Satania v1.2更新
一些工具的记录2022
PC register
2022 pole technology communication arm virtual hardware accelerates the development of Internet of things software
LaMDA 不可能觉醒吗?
Simply sort out the types of sockets
Individual game 12
The sum of the unique elements of the daily question