PL/SQL Installing and configuring Oracle database connections

Source: Internet
Author: User

In the case of enterprise development, the database (Oracle) is typically installed locally, and the Oracle database is large and installed locally, slowing down the computer. We can connect to the database remotely through the Oracle client. Here's how you install

1. Install the Oracle Instant Client (32-bit, Plsql does not support 64-bit) software.
2. Create Tnsnames.ora (Listening profile) file contents as
  

Orcl_ Database address = (DESCRIPTION = (address = (PROTOCOL = TCP) (HOST = database addresses) (port = ports)) (Connect_data = (SERVER = dedicated) (SERVICE _name = ORCL)))

Place the Tnsnames.ora file in the Oracle Instant Client installation directory
3. Configuring System Environment variables
(1) tns_admin = Tnsnames.ora file path
(2) Nls_lang = simplified Chinese_china. ZHS16GBK (used to identify the database
Character set, solve the problem of Chinese garbled. )
4. Install PL/SQL and configure PL/sql:
1. When you start PL/SQL, you do not need to login;
2. Open "Tools"-"Preferences"-"Oracle"-"Connection":
1:oracle Instant Client Installation directory
2:oracle oci.dll file under Instant Client
5. Configure the restart PL/SQL.

PL/SQL Installing and configuring Oracle database connections

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.