Solution to ORA-12154: TNS: couldnotresolvetheconnectidentifierspecified when PL/SQLdeveloper connects to oracle

Source: Internet
Author: User

Solution to ORA-12154: TNS: couldnotresolvetheconnectidentifierspecified when PL/SQLdeveloper connects to oracle

Use the PL/SQL developer tool to connect to oracle. An error is reported during logon:

ORA-12154:TNS:could not resolve the connect identifier specified

However, you can use the command line to log on. It should be because the PL/SQL developer tool is incorrectly configured. After trying it out, you need to click:

Tools -> Preferences

<喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4NCjxwPjxjb2RlIGNsYXNzPQ = "hljs ruby"> In the interface,

You need to configure "Oracle Home" and "OCI library.

Here, "Oracle Home" sets the oracle installation location, for example:

D:\oracle\product\10.2.0\db_1

"OCI library" is the oracle client location. You need to install the client and specify its location, for example:

D:\oracle\product\10.2.0\db_1\BIN\oci.dll

Sometimes the "OCI library" can be left blank, but the "Oracle Home" must be filled.

After filling in, PL/SQL developer can connect to oracle.

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.