前言:在测试oracle10g dg时,备库用sqlplus连接出现如题错误。
查阅相关文档,解决如下
1,-bash-3.1$ sqlplus sys/system as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 19 04:48:02 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
2,配置ORACLE_SID
3,用sqlplus重连,ok
-bash-3.1$ sqlplus sys/system as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 19 04:49:30 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-625462/
,如需转载,请注明出处,否则将追究法律责任。