当前位置:网站首页>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!!!
连接测试
输入主机、端口、服务名、用户名与密码信息,点击连接测试,测试是否配置成功

边栏推荐
- The sum of the unique elements of the daily question
- Daily question 1342 Number of operations to change the number to 0
- 1039 Course List for Student
- R语言【数据集的导入导出】
- AtCoder Grand Contest 013 E - Placing Squares
- Collection: programming related websites and books
- 数据可视化图表总结(一)
- 常见的最优化方法
- PC register
- QQ computer version cancels escape character input expression
猜你喜欢

7. Processing the input of multidimensional features

Sword finger offer 05 Replace spaces

实时时钟 (RTC)

CF1634 F. Fibonacci Additions

On the characteristics of technology entrepreneurs from Dijkstra's Turing Award speech

数据可视化图表总结(二)

Spark中groupByKey() 和 reduceByKey() 和combineByKey()

Sword finger offer 09 Implementing queues with two stacks
![Introduction to LVS [unfinished (semi-finished products)]](/img/72/d5a943a8d6d71823dcbd7f23dda35b.png)
Introduction to LVS [unfinished (semi-finished products)]

Sword finger offer 05 Replace spaces
随机推荐
leetcode-6110:网格图中递增路径的数目
[jailhouse article] performance measurements for hypervisors on embedded ARM processors
打印机脱机时一种容易被忽略的原因
MIT-6874-Deep Learning in the Life Sciences Week 7
leetcode-3:无重复字符的最长子串
Implement an iterative stack
The difference between CPU core and logical processor
2022年貴州省職業院校技能大賽中職組網絡安全賽項規程
可变电阻器概述——结构、工作和不同应用
API related to TCP connection
常见的最优化方法
A reason that is easy to be ignored when the printer is offline
Sword finger offer 04 Search in two-dimensional array
Spark中groupByKey() 和 reduceByKey() 和combineByKey()
EOJ 2021.10 E. XOR tree
884. Uncommon words in two sentences
Bit mask of bit operation
Wazuh開源主機安全解决方案的簡介與使用體驗
Sword finger offer 09 Implementing queues with two stacks
leetcode-6108:解密消息