ORA-12154: TNS:could not resolve the connect identifier specified--sys密码包含@符号
问题描述:在操作系统登录数据库时,由于忘记了sys密码,重新修改的sys密码包含@符号,登录时报错,
ORA-12154: TNS:could not resolve the connect identifier specified
要使用在线恢复恢复DG,所以要连接到主库测试tns的连通情况
备库上验证:
[2021/4/23 20:51:13] [oracle@PEKPBSDIHDBP02 dbs]$ sqlplus "sys/elcarO@321qwe"@ORCLDG1 as sysdba
[2021/4/23 20:51:14]
[2021/4/23 20:51:14] SQL*Plus: Release 11.2.0.4.0 Production on Fri Apr 23 20:44:06 2021
[2021/4/23 20:51:14]
[2021/4/23 20:51:14] Copyright (c) 1982, 2013, Oracle. All rights reserved.
[2021/4/23 20:51:14]
[2021/4/23 20:52:34] ERROR:
[2021/4/23 20:52:34] ORA-12154: TNS:could not resolve the connect identifier specified
登录密码包含@,在界面登录需要转义
主库上验证:
[2021/4/23 20:55:11] [oracle@PEKPBSDIHDBP02 dbs]$ sqlplus sys/\"elcarO@321qwe\"@orcl_stb as sysdba
[2021/4/23 20:55:11]
[2021/4/23 20:55:11] SQL*Plus: Release 11.2.0.4.0 Production on Fri Apr 23 20:48:03 2021
[2021/4/23 20:55:11]
[2021/4/23 20:55:11] Copyright (c) 1982, 2013, Oracle. All rights reserved.
[2021/4/23 20:55:11]
[2021/4/23 20:55:11]
[2021/4/23 20:55:11] Connected to:
[2021/4/23 20:55:11] Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
[2021/4/23 20:55:11] With the Partitioning, OLAP, Data Mining and Real Application Testing options
转义写法:sqlplus sys/\"密码\"@tnsname
ORA-12154: TNS:could not resolve the connect identifier specified--sys密码包含@符号的更多相关文章
- Oracle案例09——ORA-12154: TNS:could not resolve the connect identifier specified
DG处理的问题还是蛮多的,但这次遇到一个比较奇葩的事情,表面配置.网络都没啥问题,但主备的同步始终有问题,经过多次调整参数.重新部署问题依旧,最终还是求助mos问题得以解决,现将处理过程记录如下: 一 ...
- EF:Oracle.DataAccess.Client.OracleException: ORA-12154: TNS:could not resolve the connect identifier specified
报告错误:Oracle.DataAccess.Client.OracleException: ORA-12154: TNS:could not resolve the connect identifi ...
- PLSQL 错误问题:ora-12154:TNS:could not resolve the connect identifier
错误问题: ORA-12154: TNS:could not resolve the connect identifier specified 即无法解析指定的连接,这说明缺少了一个环境变量,TNS_ ...
- PL/SQL- ora-12154 '' TNS:could not resolve the connect identifier specified'
出现如上情况在使用pl/sql连接oracle服务器时很常见,问题出现的方式也很多 最终问题还是pl/sql在读取NETWORK\ADMIN\tnsnames.ora是配置的内容时解析错误 也就是说t ...
- PL/SQL Developer报错 ORA-12154:tns:could not resolve the connect identifier specified
PL/SQL Developer使用预先配置数据库报错 ORA-12154:tns:could not resolve the connect identifier specified. 情况描述:我 ...
- 在linux上使用impdp命令时提示ORA-12154: TNS:could not resolve the connect identifier specified的问题
今天在一台linux服务器上用impdp命令导入dmp文件时出现了错误: ORA: TNS:could not resolve the connect identifier specified 我使用 ...
- ORA-12154: TNS:could not resolve the connect identifier specified
场景: .Net程序无法连接到数据库 现象: 2015/8/26 11:02:03 ORA-12154: TNS:could not resolve the connect identifier sp ...
- plsql developer连接Oracle报错ORA-12154: TNS:could not resolve the connect identifier specified
今日更改Oracle网络配置文件后使用plsql developer 尝试连接到Oracle出现报错 ORA-12154: TNS:could not resolve the connect iden ...
- PL/SQL developer连接oracle出现“ORA-12154:TNS:could not resolve the connect identifier specified”问题的解决
转载请注明出处:http://blog.csdn.net/dongdong9223/article/details/50728536 本文出自[我是干勾鱼的博客] 使用PL/SQL developer ...
- Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决! 我同事遇到的问题。 username/
Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决! 我同事遇到的问题. userna ...
随机推荐
- requests模块获取cookie -----class 'requests.cookies.RequestsCookieJar'
#coding=utf-8 import requests url="http://www.baidu.com" response=requests.get(url) cookie ...
- HTML第四章作业
学生实践4.1.3 1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8" ...
- UG二次开发-内存访问违例
在项目中修改路径参数后重算发生了内存访问违例的错误,经过调试,发现是下面这一行出的错 surfaceContourBuilder1.Commit(); 经过反复调试,发现这个东西不能随便放,不可以想当 ...
- CV入坑
https://www.cnblogs.com/fldev/p/14360149.html
- new Date()在IOS中的坑(转)
原文地址:https://www.cnblogs.com/zjjDaily/p/8963327.html 第一次遇到,记录一下 要创建一个指定时间的new Date对象时,通常的做法是: new Da ...
- git合入代码过程中问题记录
问题一. 对远端仓库没有操作权限 ERROR: Repository not found. fatal: Could not read from remote repository. 定位思路 1.检 ...
- 使用scrollIntoView 使某元素滚动到指定位置
var el = document.getElementById('A'); el.scrollIntoView('true'); 知识: element.scrollIntoView(); // 使 ...
- 下载Vmware 15版本的虚拟机(转载)
参考网址: https://blog.csdn.net/ITloser_cartridge/article/details/91347452 不登录VMware的下载方法: https://blog. ...
- Vue中 ref、$refs区别与使用
定义2个组件: 子组件ChildrenSubRef.vue: 1 <template> 2 <div> 3 4 </div> 5 </template> ...
- jmeter--操作
Jmeter响应断言--正则表达式判断纯数字 这样是匹配14位数字,如果响应是纯数字可以直接用上 jmeter 随机取一个值的方法 1.添加用户自定义变量 在要用到随机值的地方写入 ${__Ran ...