Configure oracle instant client and PL/SQL Developer under Windows 7 64bit

1. Download oracle instant client, the download address is: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html, the download version is 32bit, (64bit is not tested)

 

2. Unzip instantclient_12_1, and the test local address is: D:\Oracle\instantclient_12_1

 

3. Set environment variables

    ORACLE_HOME = D:\Oracle\instantclient_12_1

    TNS_ADMIN = D:\Oracle\instantclient_12_1

    NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK

    Add the current path to path, %ORACLE_HOME%

 

4. Manually create a connection configuration file tnsnames.ora under instantclient

    The content is:

SCPRD=

(DESCRIPTION =

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

(CONNECT_DATA =

(SERVER = wmwhse1)

(SERVICE_NAME = SCPRD)

)

)

 

5. Download pl/sql developer, this test version is Version 11.0.2.1766

Configure oracle_home (to get from environment variables) and oci library in preferences

 

6. Log in to pl/sql developer, the connection test is successful

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326981749&siteId=291194637