Home > Database > Mysql Tutorial > pl/sql配置连接远程数据库oracle,本地没有安装oracle数据库的情

pl/sql配置连接远程数据库oracle,本地没有安装oracle数据库的情

WBOY
Release: 2016-06-07 15:39:00
Original
1287 people have browsed it

首先下载instantclient 可以到oracle官网下载,要注册账号,一定要下对应版本的,要不然不成功, 10G,11G版的,我已经传上来了,免费下载:正在上传中,稍等 配置文件tnsnames.ora 这个一个地方一般都放(network/ADMIN),只有在pl/sql -----tools--proferences

首先下载instantclient 可以到oracle官网下载,要注册账号,一定要下对应版本的,要不然不成功,

10G,11G版的,我已经传上来了,免费下载:正在上传中,稍等

配置文件tnsnames.ora 这个一个地方一般都放(network/ADMIN),只有在pl/sql ----->tools-->proferences...------>connection----> oracle home(empty is autodetect)  写上tnsnames.ora的路径(相关路径换成你自已的)

ORCL2 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.100.183)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = orcl)
    )
  )

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


设置环境变量(目录换成你自已的)

TNS_ADMIN=D:\soft\oarcleclient\instantclient_11_2
NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
path=D:\soft\oarcleclient\instantclient_11_2

pl/sql配置连接远程数据库oracle,本地没有安装oracle数据库的情pl/sql配置连接远程数据库oracle,本地没有安装oracle数据库的情pl/sql配置连接远程数据库oracle,本地没有安装oracle数据库的情pl/sql配置连接远程数据库oracle,本地没有安装oracle数据库的情

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template