Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

strange problem with Database LInk

896548Dec 13 2011 — edited Dec 13 2011
Hi 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
This post has been answered by Spongebob on Dec 13 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2012
Added on Dec 13 2011
10 comments
1,586 views