Locally installed plsql and instantclient connect to Linux server-side Oracle

Source: Internet
Author: User

When the Linux server inside the virtual machine is installed with Oracle (the specific installation method is mentioned in the previous blog), how to connect it? What happens during the connection?

1, first we download instantclient compression package, direct decompression is good , but pay attention to its installation path;

2, download the Plsql installation package and unzip the installation;

3, we need to configure the variable, in the Instantclient unpack the package has admin, There is a Tnsnames.ora file, we installed under the Linux server in the Oracle directory under the admin directory has the same name file, copy it to the local file with the same name can be (my Oracle installation path is u01/app/oracle/db_1/ Admin/tnsnames.ora);

4, we open the installation of Plsql, the first time do not log in, the direct cancellation , inside the tools-preference-connection inside configuration Two things, respectively, is the Oracle home and OCI Library , the former fill in the installation path of your instantclient, the latter in the Instantclient path after the addition of Oci.dll can be. (Mine is D:\instantclient_11_2 and D:\instantclient_11_2\oci.dll)

5, the configuration is good, exit Plsql, this time logged in, under normal circumstances the database will appear your own databases, but if not, do not worry, you manually enter the IP of the virtual machine: Port number (Install the port number used by Oracle)/ORCL (mode is IP: Port number/orcl), and then username to SYS, the password is the first to install the Oracle password, mine is 123456, and then the following connect as the general choice of SYSDBA, so that the connection can be successful

If there's a wrong place to talk

Locally installed plsql and instantclient connect to Linux server-side Oracle

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.