Home » RDBMS Server » Server Administration » db link
db link [message #60900] Fri, 12 March 2004 05:15 Go to next message
Kapil
Messages: 145
Registered: May 2002
Senior Member
I created a database link to Orace 7.x from oracle 8i, and when i try to use it. i wont work. it keep says tns couldn't resolve. what should i be doing. help me.

thank you.
Re: db link [message #60917 is a reply to message #60900] Fri, 12 March 2004 13:42 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
You need to add the 7.x database to $ORACLE_HOME/network/admin/tnsnames.ora on the server (the 8i ORACLE_HOME).

When adding the entry - be sure to use the syntax (SID=...) not (SERVICE_NAME=...). There is/was a bad bug related to that where it connected to the first DB in the listener - not the one specified.
Re: db link [message #60918 is a reply to message #60917] Fri, 12 March 2004 13:48 Go to previous messageGo to next message
Kapil
Messages: 145
Registered: May 2002
Senior Member
Is there any documentation where I can learn more about that bug.
Re: db link [message #60919 is a reply to message #60918] Fri, 12 March 2004 15:03 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
See Note#232896.999 on metalink.

If you had the same user with the same password on 2 databases serviced by the remote listener, then it would connect to the first one specified in the listener. To determine that, just do a "select global_name from global_name@db_link". On 7.3.x that maybe be "select * from v$instance@db_link" or something. Obviously having different passwords would protect you...
Previous Topic: Migrate from 32 Bit Oracle 9.2.0 to 64 Bit Oracle 9.2.4
Next Topic: Urgent pleaaassseee.waiting to patch
Goto Forum:
  


Current Time: Fri Sep 20 12:33:43 CDT 2024