Database link Ora-12154:tns: Unable to resolve the specified connection identifier

Source: Internet
Author: User
Tags create database oracle database

Ora-12154:tns When creating database link: The specified connection identifier could not be resolved.

The error is as follows:

Find a lot of information on the Internet, and found that they have been using the service name above the client, should use the service name on the server.

Dblink is a communication between two Oracle database servers, you must not write the service name on the client's Tnsnames.ora when you create Dblink, and today you have made a silly question. Remember.

Be sure that the service name you built in database a dblink is on the a machine, not on the client of the non-database server. If you are creating a database on a client landing, do not use the service name on that client.

Thank you: http://www.itpub.net/thread-19368-1-1.html

It is also important to note that if you create a database user with a password that is a pure number, you need to add double quotes instead of a pure number.

Create DATABASE link Testlink 
connect to TEST identified by "1"


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.