PL/SQL (x64) Connect Oracle Configuration Tutorial with Oracle Instant Client

Source: Internet
Author: User
Tags windows x64

PL/SQL is slightly more complex to install under the Windows x64 bit operating system, providing PL/SQL with Oracle Instant client (which is much smaller than Oracle client files) for Oracle libraries to use this handy tool. Can save installation time for users) connection database configuration tutorial One, please take away the necessary pots.


1. Download Oracle INSTANCT Client (Oracle IM)


Log in to the Oracle website and download the Oralce instant client. You can see the clients of different systems, choose the corresponding version according to their needs, after downloading, unzip to a path. such as "D:\Program files\instantclient_12_1".


  2. Configuring Oracle INSTANCT Client Environment variables


  2.1 In the System environment variable, add the following environment variables


# Oracle's locale variables (national Language support)


Nls_lang=simplified Chinese_china. Zhs16gbk

#TNS环境变量


Tns_admin=d:\program Files\instantclient_12_1\admin


#Oracle Instant installation directory (append in Path Path)


Path=.;D: \program Files\instantclient_12_1


  2.2 Creating a Tnsnames.ora database connection file


Under the "D:\Program files\instantclient_12_1\admin" path, create the Tnsnames.ora file and add the database connection configuration information in the format as follows:


FAVBLOG-TST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.100) (PORT = 1521)) (Connect_data = ( SID = favccxx) (SERVER = dedicated))) Favblog-dev = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.16 8.1.101) (PORT = 1521)) (Connect_data = (SID = ORCL) (SERVER = dedicated))


3. Configure PL/SQL


Open PL/SQL and select "Tools", "Perference", "Connection", as shown in.


In Oracle home, enter the installation path for the Oracle Instant client (optional).


In the OCI library, enter the path of the OCI.DDL in the 32-bit Oracle Instant client (required, 32-bit).


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/DA/wKioL1WrnKXwc9iDAAMnbWO3bds282.jpg "title=" Plsql.png "alt=" Wkiol1wrnkxwc9idaamnbwo3bds282.jpg "/>


4. Using PL/SQL


Restart PL/SQL, in the main object window, you can see the "Objects" component in the list on the left, you can switch the administrator account in it, or you can view the tables you have connected to in the Tables menu. Next, you can use PL/SLQ.


This article is from the "This person's IT World" blog, be sure to keep this source http://favccxx.blog.51cto.com/2890523/1676142

PL/SQL (x64) Connect Oracle Configuration Tutorial with Oracle Instant Client

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.