ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORACLE 连接文件配置

ORACLE 连接文件配置

原创 Linux操作系统 作者:tomshenhao 时间:2011-09-11 10:15:55 0 删除 编辑
 

ORACLE 11g

listener.ora

# listener.ora Network Configuration File: d:\app\TOM.SHEN\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = d:\app\TOM.SHEN\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:d:\app\TOM.SHEN\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
      (GLOBAL_NAME=ORCL)
      (ORACLE_HOME = d:\app\TOM.SHEN\product\11.2.0\dbhome_1)
      (SID_NAME = ORCL)
    )
  )

LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shn-yuanc1.sh.cnc.intra)(PORT = 1521))
  )

ADR_BASE_LISTENER = d:\app\TOM.SHEN

tnsnames.ora

# tnsnames.ora Network Configuration File: d:\app\TOM.SHEN\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = shn-yuanc1.sh.cnc.intra)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = ORCL)
    )
  )

sqlnet.ora

SQLNET.AUTHENTICATION_SERVICES=(NTS)

说明:表示登录使用操作系统验证

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24751738/viewspace-707146/,如需转载,请注明出处,否则将追究法律责任。

上一篇: ORACLE 软件下载
请登录后发表评论 登录
全部评论

注册时间:2011-07-14

  • 博文量
    260
  • 访问量
    393408