2013年11月28日

未export ORACLE_SID导致ORA-12162

摘要: 新安装的数据库,本地验证登陆报错如下:[oracle@rac1 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Thu Nov 28 01:35:43 2013Copyright (c) 1982, 2011, Oracle. All rights reserved.ERROR:ORA-12162: TNS:net service name is incorrectly specified原因为没有exportORACLE_SIDexport ORACLE_SID 并写入.bash_profile即可登陆了。[ 阅读全文

posted @ 2013-11-28 10:51 woodyx 阅读(1251) 评论(0) 推荐(0) 编辑

导航