当前位置:网站首页>sqlnet. Ora-12154 and ora-01017 connection exceptions caused by incorrect ora file settings
sqlnet. Ora-12154 and ora-01017 connection exceptions caused by incorrect ora file settings
2022-07-23 16:01:00 【51CTO】
Recently, I saw a friend connect to the database ORA-12154 、ORA-01017 It's abnormal , In fact, there are many reasons for this anomaly , The following is an introduction sqlnet.ora In file EZCONNECT The influence of parameters on this exception . If you want to use it EZCONNECT How to connect to the database ,Windows On the client side sqlnet.ora Add to file “NAMES.DIRECTORY_PATH=(EZCONNECT)” Information or delete sqlnet.ora file .
Simulate anomalies :
1、 Delete EZCONNECT
Windows Client delete sqlnet.ora(ORACLE_HOME/network/admin Under the table of contents ) in EZCONNECT Parameters , It is shown as follows :
At this point through pl sql Definitely unable to connect to the database ,pl sql The connection mode of is simple connection .

Linux The system deletes the server EZCONNECT An error is as follows
add EZCONNECT, Instant connection OK.
explain : adopt ORA-01017、ORA-12154 The alarm , It's hard to think of sqlnet.ora File exception .
边栏推荐
猜你喜欢
随机推荐
对C语言最基本的代码解释
select......for update 语句的功能是什么? 会锁表还是锁行?
2022最NB的JVM基础到调优笔记,吃透阿里P6小case
【论文学习】《Source Mixing and Separation Robust Audio Steganography》
xml-xxe漏洞之Fake XML cookbook
946. 验证栈序列 ●● & 剑指 Offer 31. 栈的压入、弹出序列 ●●
Mathematical Modeling Typesetting
在多个数字(有重复)中找到最小值以及所在位置
任务切换的细节
Umijs - data transmission between main and sub applications of Qiankun
《快速掌握QML》第四章 事件处理
16个自动化测试面试问题与解答
What is the real HTAP? (2) Challenge article
ten thousand and one hundred
老照片上色——DeOldify快速上手
day1
《快速掌握QML》第五章 组件
AWS篇1
C语言经典例题-商品检验码
作为测试人员,不能不懂的adb命令和操作









