D:\oracle\ora81\network\ADMIN\tnsnames.ora
在这个文件中可以直接添加你的服务名
# TNSNAMES.ORA Network Configuration File: d:\oracle\ora81\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORA9I =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = louhr)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ora9i.domain)
)
)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = louhr)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = ora9i.domain)
(PRESENTATION = http://admin)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
PMIS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.147.218.162)(PORT = 1521))
)
(CONNECT_DATA =
(SID = pmis)
)
)
SAPPSD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =10.147.218.159)(PORT = 1521))
)
(CONNECT_DATA =
(SID = jxsc)
)
)