strange problem with Database LInk
896548Dec 13 2011 — edited Dec 13 2011Hi Everyone,
I have strange problem with Database Link in Oracle 11g Express Edition;
There are two computers: computer-server and computer-client. Tnsnames.ora are the same on both computers ie.
CT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof)(PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = XE)
)
)
I created database link :
Create database link zdalny
Connect to <user_id> identified by <password>
using ‘CT’;
Client can’t connect with server when I am using above command. But when I change “using” for using ‘krzysztof:1521’ or using ‘krzysztof’ or using ‘server IP:1521’ – everything is ok.
Why I am asking. Because in all materials which I am reading about Oracle command with using ‘CT’ should be working correct. But there is not. Do you know, why?
Thanks in advance and apologize for my English.
Rgds
Krzysztof