PL/SQL Developer15和Oracle Instant Client安装配置

一、下载介质

1、Oracle Instant Client

Oracle Instant Client Downloads | Oracle 中国

PL/SQL Developer15和Oracle Instant Client安装配置PL/SQL Developer15和Oracle Instant Client安装配置

2、PL/SQL DEVELOPER

PL/SQL Developer – Allround Automations

Free trial – Allround Automations

PL/SQL Developer15和Oracle Instant Client安装配置

二、安装介质。

1、安装plsqldev1504x64.msi。

PL/SQL Developer15和Oracle Instant Client安装配置一路默认下一步。

PL/SQL Developer15和Oracle Instant Client安装配置选择输入许可信息:

产品码: 4tqw83ltw4ustkjfftny7wjl7tqv9uscs8
序列号: 182522
密码: *************

PL/SQL Developer15和Oracle Instant Client安装配置

 一路默认下一步,直到安装完成。

PL/SQL Developer15和Oracle Instant Client安装配置

2、安装instantclient-basic-windows.x64-21.10.0.0.0dbru.zip。

PL/SQL Developer15和Oracle Instant Client安装配置

解压到自己喜欢的位置即可。

三、配置PLSQL。

PL/SQL Developer15和Oracle Instant Client安装配置

1、配置——>首选项。

PL/SQL Developer15和Oracle Instant Client安装配置

2、填写Oracle主目录和OCI库。

Oracle主目录 C:\Program Files\PLSQL Developer 15\instantclient_21_10
OCI库 C:\Program Files\PLSQL Developer 15\instantclient_21_10\oci.dll
instantclient-basic-windows.x64-21.10.0.0.0dbru.zip的解压目录。

PL/SQL Developer15和Oracle Instant Client安装配置

3、配置Oracle环境变量。

PL/SQL Developer15和Oracle Instant Client安装配置

4、创建数据配置文件。

①.在instantclient-basic-windows.x64-21.10.0.0.0dbru.zip的解压目录\network\admin,下创建sqlnet.ora文件。

PL/SQL Developer15和Oracle Instant Client安装配置

# This file is actually generated by netca. But if customers choose to

# install “Software Only”, this file wont exist and without the native

# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES = (NTS)

②.在instantclient-basic-windows.x64-21.10.0.0.0dbru.zip的解压目录\network\admin,下创建tnsnames.ora文件。

# tnsnames.ora Network Configuration File: D:\app\oracle\NETWORK\ADMIN\tnsnames.ora

# Generated by Oracle configuration tools.

TC13 =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.105)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = tc13)

    )

  )

EXTPROC_CONNECTION_DATA =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))

    )

    (CONNECT_DATA =

      (SID = PLSExtProc)

      (PRESENTATION = RO)

    )

  )

PL/SQL Developer15和Oracle Instant Client安装配置

注:以上两个文件可参考Oracle服务器上的\NETWORK\ADMIN\目录下的同名文件进行改写。

5、重启PLSQL Developer 15 (64 bit),登录窗口还是点击取消。

PL/SQL Developer15和Oracle Instant Client安装配置

6、配置——>链接,创建新的链接。

PL/SQL Developer15和Oracle Instant Client安装配置

填写链接的信息之后,进行测试。

PL/SQL Developer15和Oracle Instant Client安装配置

测试成功之后,点击确定即可。

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/18efaeeb9a.html