文件的位置:D:\oracle\product\10.2.0\db_1\network\ADMIN\tnsnames.ora
增加类似这样的信息:
ora11g =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.205)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora11g)
)
)