Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Database Links
I have been trying to connect via DataBase link, from one DB, I 'm
going to call it A (local db), to anoter DB B (remote one).
First thing to do was to create connection, I have added to
tnsnames.ora next lines:
test1.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 172.16.100.201)
(Port = 1521)
) (ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 172.16.100.201)
(Port = 1526)
)
create public database link tester connect to usr identified by pwd
using 'test1'; ( this goes through)
I try to select * from user_tables_at_TESTER;
I got this:
ERROR at line 1:
ORA-02085: database link TESTER.WORLD connects to TESTER
When I create DB link with another name like tester.com oracle does not add 'world' but this is still not working (same error).
Can anyone help me with this problem? Received on Thu May 24 2001 - 06:23:25 CDT
![]() |
![]() |