有时候,客户执行 sqlplus 本地连接数据库,有可能发生  ORA-12162 错误。

$ sqlplus / as sysdba

SQL * Plus: Release 12.1.0.2.0 Production on Mon Mar 28 18:29:03 2021

Copyright (c) 1982, 2014, Oracle. All rights reserved.

ERROR:
ORA-12162: TNS: net service name is incorrectly specified

 
出现这种错误,表明 ORACLE_SID 没有正确设置,设置了正确的 ORACLE_SID 后,
重新 执行 sqlplus / as sysdba ,就可以正确登录了。

相关文章:

  • 2021-10-26
  • 2021-11-29
  • 2022-02-04
  • 2022-12-23
  • 2021-08-20
  • 2021-11-17
  • 2022-12-23
猜你喜欢
  • 2021-07-13
  • 2022-03-11
  • 2021-11-23
  • 2021-12-14
  • 2021-05-17
  • 2021-07-20
  • 2022-01-06
相关资源
相似解决方案