补充listener.ora配置如下:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = erp-test)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
ADR_BASE_LISTENER = /oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = sgerptes)
(ORACLE_HOME = /oracle/product/11.2.0)
(SID_NAME = sgerptest)
)
)
tnsnames.ora配置:
SGERPTEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = erp-test)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sgerptes)
)
)收起