How to use PLSQL to connect to the oracle database: first download the oracleclient client tool; then open PLSQL, click Cancel, and find the tools in the menu bar and select the attribute preferences to enter; then configure the oracleclient; finally restart PLSQL to enter .
How to use PLSQL to connect to the oracle database:
1. First download the oracleclient client tool
The editor has already downloaded it here. The directory structure is as follows
2. Open PLSQL, click Cancel to enter, and then the PLSQL main interface will pop up and find the menu bar. Tools, select the attribute preferences and go in
##3. The following interface pops up and configure oracleclientConfigure the two setting items, click apply, then click ok, close PLSQL, and restart PLSQL 4. The two fill-in items above are the first step. directory, and a file in the directoryAs shown in the figure below, just find the corresponding directory. 5. Restart PLSQL to enter the login interface, enter relevant information, user name and password, and connection information Connection information: can be ip:1521/ The instance name can also be the TNS alias configured in tnsname.ora in the network/admin directory. 6. After the connection is successfulYou can write a random statement to check whether it is normal
select * from dual;
Related learning recommendations:
The above is the detailed content of How to use PLSQL to connect to oracle database?. For more information, please follow other related articles on the PHP Chinese website!