Q
Problem solve Get help with specific problems with your technologies, process and projects.

Problem with dblink: ORA-02085

I tried to create a database link with the following statement:

SQL> create database link link1.satyam.com connect to banko identified by
banko using 'gemico1';
ERROR at line 1:
ORA-02085: database link LINK1.SATYAM.COM connects to GEMICO1.SATYAM.COM

There is a parameter in init.ora called GLOBAL_NAMES. If you change it to false, you can do your database link and it will work.

For More Information

  • What do you think about this answer? E-mail the editors at editor@searchDatabase.com with your feedback.
  • The Best Oracle Web Links: tips, tutorials, scripts, and more.
  • Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
  • Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
  • Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.

The dblink was created sucessfully, but when I tried to query the remote database using the dblink, I got the following error: The solution suggested for this error is that the name of the database link should be same as the name of the database it is connecting to. But if this is the case, then how do I connect different users on the same database, as only one dblink can be created for one database. Does it mean that I must, every time, drop the dblink and create a new one for the other user I wish to connect to?

Dig Deeper on Oracle error messages

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close