标签:
1、打开tnsnames.ora文件的位置
D:\ora_product\11.2.0\dbhome_1\NETWORK\ADMIN
2、文件中写入
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
108_XRORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.108)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XRORCL)
)
)
PlSql链接Oracle数据库对tnsnames.ora文件的配置
标签:
原文地址:http://www.cnblogs.com/RocketMan/p/5360202.html