Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Problem with Database Link
Can you connect to the remote database using sqlplus
username/password_at_LINKNAME on the server where you are creating the db
link?
If you can try creating the db link with the full connect string in the using parameter
Example
Create database link LINKNAME
connect to username identified by password
using' (DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST =
10.54.100.231)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME= LINKNAME)))'
in other words insert the DESCRIPTION portion of the tnsnames file in
the using...
bob
Rakesh Banerjee wrote:
> Hi Friends,
>
> I am facing a problem in operating with database link.
>
> One of the machine has Personal Oracle 8i installed. In the same
> machine the client of Oracle Enterprise 8i is also installed, whose
> server is installed on the Database server machine.
>
> Now in the client machine, TNSNAMES.ORA files of both the enterprise
> client and that of personal is having the same entry of host string,
> i.e. the host name version is same for both the versions.
>
> A Database link is created from the personal oracle for the oracle
> enterprise.
>
> Now when the select statement is fired from Personal Oracle 8i
> fetching data from Oracle enterprise using the database link, it is
> giving TNS ERROR specifying OPERATION TIME OUT.
>
> Can anybody help in solving the problem? Thanks in advance.
>
> Rakesh
>
> amtrix Infosystems Ltd.
>
>
>
>
>
>
> -----------------------------------------------------------------------
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Bob Metelsky INET: bob_at_cps92.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Apr 26 2002 - 09:28:27 CDT
![]() |
![]() |