The whole process of connecting to a remote database using PL/SQL Developer

1. First install the Oracle11g client: Instant Client

If it is difficult to access foreign websites, you can also click here Password: eizy

The installation process can refer to this experience: oracle 11gR2 client (installation of oracle client)

instantclient_11_22. Find the folder under your PL/SQL developer . will be able to find a tnsnames.orafile called . Edit it:

连接名 =
(DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 服务端Oracle的ip )(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = ORCL )
    )
)

3. Configure environment variables:

Right click on My Computer and select "Properties" -> "Advanced" -> "Environment Variables" -> "System Variables"

Add the following two variables TNS_ADMIN tnsnames.ora file directory

NLS_LANG    SIMPLIFIED CHINESE_CHINA.ZHS16GBK

Enter image description

Enter image description

4. Log in to PL/SQL and click Cancel to enter and modify the configuration.

Select -- Tools --> Preferences --> Connections

Oracle主目录:

D:\PLSQL Developer\PLSQL Developer\instantclient_11_2

OCI库:

D:\PLSQL Developer\PLSQL Developer\instantclient_11_2\oci.dll

Enter image description

5. Close PL/SQL Developer, restart the software, and enter the corresponding user name and password.

Guess you like

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