1. 程式人生 > >監聽文件

監聽文件

監聽文件



1、tnsnames.ora(客戶端)

net_service_name=

(DESCRIPTION=

(ADDRESS=(protocol_address_information))

(CONNECT_DATA=

(SERVICE_NAME=service_name)))

2、listener.ora(服務器端)

LISTENER=

(DESCRIPTION=

(ADDRESS_LIST=

(ADDRESS=(PROTOCOL=tcp)(HOST=sale-server)(PORT=1521))

(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))

SID_LIST_LISTENER=

(SID_LIST=

(SID_DESC=

(GLOBAL_DBNAME=sales.us.example.com)

(ORACLE_HOME=/oracle11g)

(SID_NAME=sales))

(SID_DESC=

(SID_NAME=plsextproc)

(ORACLE_HOME=/oracle11g)

(PROGRAM=extproc)))


本文出自 “11862116” 博客,請務必保留此出處http://11872116.blog.51cto.com/11862116/1959067

監聽文件