Win7_32-bit PLSQL connects to the remote database (Oracle is not installed locally), win7_32plsql

Source: Internet
Author: User

Win7_32-bit PLSQL connects to the remote database (Oracle is not installed locally), win7_32plsql

1. Tool: Download Oracle Client address:

Http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html such


Select the corresponding version,

Http://www.oracle.com/technetwork/topics/winsoft-085727.html find the corresponding version, download.


Download PLSQL Developer: search for it and you can download it.

2. After PLSQL Developer is installed, open PLSQL, as shown in figure


The configuration method is as follows:

Click Cancel to enter PLSQL. The following operations are performed:


Write the decompression path of the oracle client file downloaded in step 1 in Orcale Home (it is best not to have Chinese characters)


Create two folders and one file in the directory and make them into the following directory: (network ADMIN tnsnames. ora)


Configure PLSQL as follows:


Click OK or Apply

After PLSQL is restarted, the following interface is displayed;


Enter the relevant information. If the logon succeeds, OK. If the logon fails, add the following to the tnsnames. ora file:

ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521 ))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)

The red font is user-defined. I believe you should know what it means,

Save and re-open PLSQL. Then there is no more. It should have been connected to the database.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.