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_2
2. Find the folder under your PL/SQL developer . will be able to find a tnsnames.ora
file 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
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