DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: database link???

  1. #1
    Join Date
    Nov 2000
    Posts
    198
    Hi,
    I've created a database link for a remote db.
    whenever I tried to connect from my local db to the remote
    one using my link, it gives me this error..
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name

    OR

    ERROR at line 1:
    ORA-02019: connection description for remote database not found ( when I append .WORLD to the service name)

    I am able to connect DIRECTLY to the remote db from my
    sql plus ( connect remId/remPass@remService_name ) without problem !!!

    ANY IDEA!!!!!

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    1. Check the TNSNAMES.ORA file on the server you are trying to connect from to make sure it has the entry.
    2. create the db_link with the explicit sql*net string from the TNSNAMES.ORA file. ( create database link link1 using '(DESC=(...))'
    Jeff Hunter

  3. #3
    Join Date
    Nov 1999
    Posts
    226
    Also make sure that the global_name in the init.ora file is set to false . It creates a problem in case you are trying to link to a database with the same SID name

    regadrs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width