alter system register;
LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.159)(PORT = 1521))) (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))) )
SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = jyzhao) (ORACLE_HOME = /opt/app/oracle/product/11.2.0/dbhome_1) (SID_NAME = jyzhao) ) ) 注:global_dbname 与service_names一致 sid_name与instance_name一致
JYDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.159)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = jyzhao) ) )
相克军_Oracle体系_随堂笔记015-网络原理及配置,布布扣,bubuko.com
原文:http://www.cnblogs.com/jyzhao/p/3819383.html