SQL plus and pl/SQL cannot connect to the remote oracle database, ploracle

Source: Internet
Author: User

SQL plus and pl/SQL cannot connect to the remote oracle database, ploracle

After the oracle client is installed, SQL plus and pl/SQL may fail to connect to the remote oracle database, which may be due to the following reasons:

Unable to connect to SQL plus:

1 possible cause: the oracle database client has been installed before and has not been uninstalled. SQL plus uses the previous oracle client configuration, causing connection failure.

Solution: In system variables, delete information about the oracle client, such as path information.

 

When SQL plus can be connected, pl/SQL cannot be connected.

1 possible cause: the oracle database client has been installed before and has not been uninstalled. pl/SQL uses the previous oracle client configuration, causing connection failure.

Solution: 1. When logging on, click cancel (cancel) to automatically enter the interface. Follow the tools> preferences operation to go to the configuration page. Find Oracle> Connection, find oracle home on the right of the configuration page, and specify oracle home as the newly installed client.

2 possible cause: pl/SQL is installed in a strange path, such as "Program Files (x86 )"

Solution: uninstall, reinstall, and install it in a normal path.

 

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.