oracle client configuration

Installation-free version, configure plsql to connect to oracle database, client

Oracle 11g client and PLSQL Developer configure
Oracle 11g client
resource

    download resources, directly decompress and configure

    Oracle official resources: http://www.oracle.com/technetwork/database/ features/instant-client/index-097480.html

    Since PLSQL Developer is a 32-bit software, you need to download the 32-bit Oracle client.

    The project packaging client address is as follows:

    (Version 11.2.0.3.0) Link: http://pan.baidu.com/s/1qW7e1di Password: kzye

    Note: SQLPLUS is included, but the directory structure is the continuation of the original Oracle 10g client, It does not affect the use of. For convenience, you can directly decompress the Oracle client to the D drive of the system, and the directory structure is D:\Oralce\client_10_2.
Windows operating system environment variable configuration

    Configure the environment variable:

    Oracle_Home=D:\Oralce\client_10_2

    TNS_ADMIN=D:\Oralce\client_10_2\NETWORK\ADMIN

    NLS_LANG=AMERICAN_AMERICA.UTF8

    Note: The language is configured according to the actual situation, for example, Chinese is NLS_LANG=AMERICAN_CHINA.ZHS16GBK

   
Oracle network connection configuration

(1) Create folders and files

    Create the following folder D:\Oralce\client_10_2\NETWORK\ADMIN on the D drive.

    Among them, "\NETWORK\ADMIN" is new.

(2) Create and configure tnsnames.ora configuration

    120 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.64.52.120)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
        )
      )

(3) sqlnet.ora

    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

    The above content can be downloaded directly from the project's own resources.
PLSQL Developer configuration

    As shown in the figure below, operate the PLSQL Developer menu "Tools", select the Preferences function in the drop-down menu, the following window will pop up, and configure the following options respectively:

    Oracle Home: D:\Oralce\client_10_2

    OCI library: D:\Oralce\client_10_2\oci. dll

   

    For the use of PLSQL Developer, you can refer to online resources, such as: Baidu Wenku, PLSQLdeveloper tool usage tutorial.

    PLSQL Developer download resources can use the following temporary resources, which will be cancelled after three days: link: http://pan.baidu.com/s/1rrUF0 Password: zazv




transferred from
http://blog.csdn.net/xiaoyw71/article/details/45311589

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326314432&siteId=291194637