• 配置toad远程连接oracle


    在oracle服务器上:

    C:appAdministratorproduct11.2.0dbhome_1NETWORKADMIN目录

    文件:listener.ora(10.144.118.12是oracle服务器地址)

    # listener.ora Network Configuration File: C:appAdministratorproduct11.2.0dbhome_1 etworkadminlistener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:appAdministratorproduct11.2.0dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:appAdministratorproduct11.2.0dbhome_1inoraclr11.dll")
        )(SID_DESC = 
          (GLOBAL_DBNAME = ORCL) 
          (ORACLE_HOME =  C:appAdministratorproduct11.2.0dbhome_1) 
          (SID_NAME = ORCL) 
       ) 
      )

    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.144.118.12)(PORT = 1521))
        )
      )

    ADR_BASE_LISTENER = C:appAdministrator

    文件:tnsnames.ora

    # tnsnames.ora Network Configuration File: C:appAdministratorproduct11.2.0dbhome_1 etworkadmin nsnames.ora
    # Generated by Oracle configuration tools.

    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))


    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
        )
      )

    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.144.118.12)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
        )
      )

    配好后重启服务:

    客户端需要安装oracle client 和 toad软件,登录界面


     

  • 相关阅读:
    水晶报表的部署
    成熟是一种明亮而不刺眼的光辉...
    获取页面地址的各种返回值
    索引的基本原理(转)
    cron
    VS2010 测试 普通单元测试
    SQL 学习笔记
    负载均衡
    Expression 常用方法
    轻松实现QQ用户接入
  • 原文地址:https://www.cnblogs.com/ShaYeBlog/p/6526494.html
Copyright © 2020-2023  润新知