SQL Plus/PL cannot connect to a remote Oracle database

Source: Internet
Author: User

Preface: After installing the Oracle client, SQL Plus and PL/E could not connect to the remote Oracle database, possibly for the following reasons:

Connection not on SQL plus:

1 Possible causes: Before the Oracle database client was installed and not uninstalled cleanly, SQL Plus uses the configuration of the previous Oracle client, causing the connection to not

Workaround: In the system variable, delete the previous Oracle client information, such as path information

In cases where SQL Plus can be connected, no

1 Possible causes: Before the Oracle database client was installed and not uninstalled cleanly, PL/SQL used the configuration of the previous Oracle client, causing the connection to not

WORKAROUND: 1 at the time of landing, click Cancel, automatically enter the interface, follow the operation tools->preferences, enter the configuration interface, find Oracle->connection, on the right side of the configuration interface to find Oracle home, Then you specify Oracle home as the newly installed client

2 possible causes: PL/SQL is installed under strange paths, such as "Program Files" (x86)

Workaround: Uninstall, reload, install under a normal path

SQL Plus/PL cannot connect to a remote Oracle 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.