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

Thread: ORA-12154: TNS:could not resolve service name

  1. #1
    Join Date
    Nov 2001
    Location
    NY
    Posts
    2
    SQL> connect Scott/tiger@oscar
    ERROR:
    ORA-12154: TNS:could not resolve service name

    oscar is the database name
    Scott/tiger is the default login

    can anyone tell me what the error message mean?

    thanks

  2. #2
    Join Date
    Aug 2001
    Posts
    184
    sondz like your tnsnames.ora is not setup correctly. shud look something like:
    XXX_TCP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = III)
    (PORT = 1521)
    )
    )
    (CONNECT_DATA = (SID = XXX) )
    )
    OCP DBA 8i
    ocpwannabe@yahoo.com
    -----------------------------
    When in doubt, pick 'C'.

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