日期:2014-05-16 浏览次数:20633 次
D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN 看到了tnsnames.ora文件
# tnsnames.ora Network Configuration File: # Generated by Oracle configuration tools. # 本地数据库:ORCL:表示名称,host=***表示地址(本地/远程) # PORT=***为端口,SERVICE_NAME=orcl 表示本地连接; # SID=orcl:表示远程连接的 ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) ) 192.168.2.100_ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.100)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = orcl) ) )