Oracle连接配置文件 tnsnames

装Oracle配置文件
E:\oracle\product\10.2.0\client_2\NETWORK\ADMIN
tnsnames.ora


NAME =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 服务器地址)(PORT = 端口))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = 服务名)
    )
  )




For example:
# tnsnames.ora Network Configuration File: E:\oracle\product\10.2.0\client_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.


MoYu =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.169.1.68)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = FOCSZT)
    )
  )

你可能感兴趣的:(Oracle学习笔记)