文件是:
D:/oracle-Xp/ora81/network/ADMIN/tnsnames.ora
请注意你安装的文件路径
# TNSNAMES.ORA Network Configuration File: D:/oracle-Xp/ora81/NETWORK/ADMIN/tnsnames.ora
# Generated by Oracle configuration tools.
TEST1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.249)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TEST1)
)
)
TEST2= (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.250)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = TEST2) ) )