Linux环境下,SQLPLUS的配置
参考:
FAQ:
- ORA-12162: TNS:net service name is incorrectly specified 错误解决
- sqlplus remote connection giving ORA-21561
查询主机名:hostname
修改本地主机名:vi /etc/hosts
DEMO:
It should be changed to:
127.0.0.1 localhost localhost.localdomain hostname