1. Download the installation package
1. Check whether your computer operating system is 64-bit or 32-bit.
Right-click This PC on the desktop, and click Properties. There is a system type in the device specification column.
2. Download the installation package, pay attention to choose the installation process consistent with the system type
JDK download URL:
https://www.oracle.com/java/technologies/downloads/#java8
Oracle download URL : https://www.oracle.com/database/technologies/instant-client/downloads.html
plsql download URL (remove try-it-free/ if it fails ): https://www.allroundautomations.com/try-it-free/
3. Run the jdk, oracle, plsql installation process, keep clicking next, you need to pay attention to the installation location, JDK needs to choose two different locations (it will be prompted during the installation process).
Two, configure PLSQL
1. Configure jdk environment variables
Right-click on this computer--"Select Properties--"Select Advanced System Settings--"Environment Variables.
Create a new (modify) JAVA_HOME where D:jdk18 is changed to your own jdk installation location.
Create a new (modify) CLASSPATH, which generally does not need to be modified
Modify PATH, add the following two lines in it.
2. Activate PLSQL
You can search online, here is the activation code for PLSQL15:
product code : ke4tv8t5jtxz493kl8s2nn3t6xgngcmgf3
serial Number: 264452
password: xs374ca
When the account password login appears, select cancel, wait for plsql to open, and select configure----"preference
Select connection, Oracle Home, fill in the oracle installation location in step 1, oci fill in the content in Oracle Home, add \oci.dll apply, confirm, and then close the page.
3. Configure ORACLE
Enter the Oracle Home path in step 2 (that is, the installation location of Oracle), and enter the NETWORK folder (create it if it is not there). Then enter the ADMIN folder (create it if you don’t have it), and create a new tnsnames.ora file. Write the tnsnames.ora file.
aaaa=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip)(PORT = 8080))
)
(CONNECT_DATA =
(SERVICE_NAME = ocal)
)
)
#以下信息自己修改
aaaa :数据库连接名
HOST = ip地址 :数据库地址
PORT = 1521 :端口号
SERVICE_NAME = orcl :数据库名称
After saving, reopen plsql to log in
4. Open plsql login