作者:有点难 | 来源:互联网 | 2018-05-28 04:30
D:oraclexeapporacleproduct10.2.0serverNETWORKADMIN的tnsnames.ora中增加如下配置DEMO(DESCRIPTION(ADDRESS_LIST(ADDRESS(PROTOCOLTCP)(HOST218.17.160.22)(PORT1521)))(CONNECT_DATA(SERVICE_NAMEdemo)))cmd中查看是否连接成功
D:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN的tnsnames.ora中增加如下配置 DEMO= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=218.17.160.22)(PORT=1521)) ) (CONNECT_DATA= (SERVICE_NAME=demo) ) ) cmd中查看是否连接成功
D:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN的tnsnames.ora中增加如下配置
DEMO =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 218.17.160.22)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = demo)
)
)
cmd中查看是否连接成功的方法
sqlplus njkf/njkf@218.17.160.22/demo
用 tnsping 连接名 次数 更方便
<无>
plsql