Oracle Instant client is a simple client provided by oracle and supports multiple platforms. It can be downloaded from the oracle website, the download address is: http://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/ index.html
After selecting the system version, download the following two contents
instantclient-basic : This is the core package instantclient-sqlplus : The simplest SQLPLUS package |
Unzip them all to your favorite directory. For example: C:\instantclient_12_2
2. Create a new directory network in the C: \instantclient_12_2 directory, create a new admin directory in the network directory, create a new file tnsnames.ora in the admin directory, and use a text editor to open the write connection configuration content:
Example: test = (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST =127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =test) ) ) |
HOST: Indicates the local host name that defines the remote server
SERVICE_NAME: Remote database instance name
3. Add an environment variable named TNS_ADMIN, whose value is the path where the tnsnames.ora file is located. For example, my local machine is: C:\instantclient_12_2\network\admin
Add the environment variable NLS_LANG as SIMPLIFIED CHINESE_CHINA.ZHS16GBK
add ;C \ instantclient_11_2 in PATH;
Fourth, download and install the PL.SQL.Developer configuration application
https://www.allroundautomations.com/plsqldev.html
Language Packs are language packs to download according to your own needs
Fives,
Configure tools->preferences->connection configuration-->preferences-->connection
Oracle Home Oracle home directory name
E: \ nstantclient_12_2 E: \ nstantclient_12_2
OCI library OCI library
E: \ instantclient_12_2 \ oci.dll E: \ instantclient_12_2 \ oci.dll
6. Close PL/SQL Developer and restart Developer.
The host name will appear in the list of PL/SQL Developer, enter the username and password, and you can log in to the remote oracle database.