当前位置:网站首页>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 .
边栏推荐
猜你喜欢
随机推荐
手机使用多了可能会丢掉工作
10100
C语言注释的方法
As a tester, you cannot fail to understand ADB commands and operations
Software testing weekly (No. 81): what can resist negativity is not positivity, but concentration; What can resist anxiety is not comfort, but concrete.
Mercedes Benz new energy product line: luxury new energy market may change the pattern
One minute rule for sequential disk access
C语言经典例题-用4×4矩阵显示从1到16的所有整数,并计算每行、每列和每条对角线上的和
day1
Unity-笔记-ILRuntime接入
【攻防世界WEB】难度三星9分入门题(下):shrine、lottery
(BFS) template + example (maze, eight digits)
Details of task switching
[untitled]
没有了华为,高通任意涨价,缺乏核心技术的国产手机只能任由宰割
【Try to Hack】sql注入 Less7 (into outfile和布尔盲注)
记一次SQL优化
Please initialize the log4j system properly.
C语言书籍推荐
【运维】ssh tunneling 依靠ssh的22端口实现访问远程服务器的接口服务





![[untitled]](/img/cb/eb8edb5b15a8e87560a63355f35a9c.png)



