标签:tcp ORC 连接 script network protoc ddr admin ip地址
1.在oracle安装目录D:\app\Eric\product\11.2.0\dbhome_1\NETWORK\ADMIN找到tnsnames.ora;
2.ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.74.20.31 )(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl )
)
)
其中ORCL是远程数据库在本地的主机名,10.74.20.31是远程服务器的IP地址,orcl是远程数据库的名称。
标签:tcp ORC 连接 script network protoc ddr admin ip地址
原文地址:https://www.cnblogs.com/lazyInsects/p/9259977.html