1. Download instantclient-basic-win32-11.2.0.1.0
Oracle Instant Client - Free tools and libraries for connecting to Oracle Database
(Oracle official website download address: http://www.oracle.com/technetwork/topics/winsoft-085727.html, download address 2: http://download.csdn.net/detail/czw2010/5732241)
2. Unzip instantclient-basic-win32-11.2.0.1.0 and place it under product in the oracle installation directory (the location is not mandatory, you can place it at will), as shown in the figure below:
3. Copy the tnsnames.ora file under D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN to instantclient_11_2.
4. Open PLSQL Developer, select Tools -> performance -> Connection, and configure the Oracle Home and OCI Library items, as shown in the following figure:
其中, Oracle Home:D:\app\Administrator\product\instantclient_11_2
OCI Library:D:\app\Administrator\product\instantclient_11_2\oci.dll
5. Configure system environment variables
Right-click "My Computer" - "Properties" - "Advanced" - "Environment Variables" - "System Environment Variables": 1>.
Select "Path" - click "Edit", put "D:\app\Administrator\product \instantclient_11_2;" Join;
2>.Click "New", set the variable name to "TNS_ADMIN", set the variable value to "D:\app\Administrator\product\instantclient_11_2;", click "OK"; 3>.Click
" New", the variable name is set to "NLS_LANG", the variable value is set to "SIMPLIFIED CHINESE_CHINA.ZHS16GBK", click "OK";