PL / SQL is not installed Oracle connection, Oracle instantclient installation

================================

© Copyright sweet potatoes Yao 2020-01-07

https://www.cnblogs.com/fanshuyao/

 

first step:

下载 instantclient(instantclient-basic-win32-11.2.0.1.0.zip)

download link:

https://pan.baidu.com/s/1eSPy7C2

Attachment is too large, can not pass, if the file is invalid, please Baidu own.

 

Step two:

1, instantclient-basic-win32-11.2.0.1.0.zip to extract the files to D: \ 0soft \ Oracle \ instantclient_11_2 (own definition)

2, in the directory D: \ 0soft \ Oracle \ under instantclient_11_2 create the file: tnsnames.ora (which according to the actual configuration modification)

ORAPL =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.133)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = orapl)
    )
  )

 

3, in the directory D: \ 0soft \ Oracle \ under instantclient_11_2 create the file: sqlnet.ora (no modification)

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

 

third step:

Adding system variables

variable name:

TNS_ADMIN

:( extract the value of the variable above directory)

D:\0soft\Oracle\instantclient_11_2  

 

the fourth step:

Installation PL / SQL Developer, connection parameters and configuring the oracle:

Open, do not enter the account password, just click Cancel to enter the unregistered status interface

Then select [Tools - Preferences (p) or Tools - Preferences] (mine is in Chinese)
in the first Oracle menu, click Connection or Connection, modify the configuration, as follows:

D:\0soft\Oracle\instantclient_11_2
D:\0soft\Oracle\instantclient_11_2\oci.dll

 

the fifth step:

Restart PL / sql, enter the account number and password test, remember to modify the service in front of the connection information tnsnames.ora file.

 

Step Six:

Solve the Chinese garbled

Adding system variables

variable name:

NLS_LANG

variable:

AMERICAN_AMERICA.ZHS16GBK

 Or (variable value):

AMERICAN_AMERICA.AL32UTF8 

 

 

(If you think the article you have to help, donations are welcome, ^ _ ^, thank you!) 

 

================================

© Copyright sweet potatoes Yao 2020-01-07

https://www.cnblogs.com/fanshuyao/

 

Guess you like

Origin www.cnblogs.com/fanshuyao/p/12159864.html