oracle监听配置
Posted yeah!!!
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle监听配置相关的知识,希望对你有一定的参考价值。
在listener.ora文件中指定监听的实例名和修改ip地址:
查看实例名:[localhost$] echo $ORACLE_SID
LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.193.130)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /home/oracle/app SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = orcl) (ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1) (SID_NAME = orcl) ) )
将服务器的tnsnames.ora的内容拷贝到客户端的tnsnames.ora记得修改ip
ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.193.130)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )
以上是关于oracle监听配置的主要内容,如果未能解决你的问题,请参考以下文章