Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Database Links -- What does this error mean? 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
okay ... this is driving me nuts X-) ... here's the charmingly opaque oracle error message i'm getting:
ORA-02085: database link MICA_LINK.WORLD connects to MICA.MIS.*****.NET
quite honestly, that's what i thought the link is supposed to do and if so, then why the error?
i'm logging in from a client (my box) into the local and attempting to query the remote
i've established the mica service name on both the client and the local and have tested the connection successfully ... i can establish a login connection using SQL+ to both the local and the remote
has anyone had lots of experience with this?
any thoughts, tricks, things to be aware of???
thanks in advance
 
Mr. Clean -
I've run into this too.
Two solutions that I've found are:
Change your database link to MICA.MIS.*****.NET (probably NOT what you want to do)
OR
Set
GLOBAL_NAMES=false
in your init.ora file and bounce your instance.

You probably have GLOBAL_NAMES set to true, which requires your db link names to match the instance you're connecting to.

You're right - Oracle COULD have created a better error message. But...what else is new? [sig][/sig]
 
Setting the global names to false and restarting the database fixed all of my problems. Thank you.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top