在
D:\oracle\Oracle_11g\product\11.2.0\dbhome_1\NETWORK\ADMIN
找到 tnsnames.ora 文件
打开添加远程数据库的参数,例如:
ORACLE11 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracle11)
)
)