Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: confused about SID and SERVICE_NAME in tnsnames.ora
Avnish,
I have both of these parameters defined in each of the two databases. Yet, service_name only works on one.
Gene
--- Avnish.Rastogi_at_providence.org wrote:
> To use service_name, make sure that you have defined
> local_listener and service_name in init.ora file.
>
> -----Original Message-----
> Sent: Thursday, September 18, 2003 10:55 AM
> To: Multiple recipients of list ORACLE-L
>
>
> hi all.
>
> i have two databases running oracle 817 on different
> machines (AIX 4.3). I am trying to connect to these
> databases remotely from my desktop. when I use the
> "SERVICE_NAME = " in the connect_id for one of the
> databases, I get ora 12500 error. When I replace it
> with "SID=" everything works fine. For another
> database, SERVICE_NAME works every time. I looked
> and
> both databases and couldn't see anything to explain
> this . Can someone shed some light onto this. My
> Oracle client is 9201.
>
> thanks
>
> gene
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> http://sitebuilder.yahoo.com
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.net
> --
> Author: Gene Gurevich
> INET: gurelei_at_yahoo.com
>
> Fat City Network Services -- 858-538-5051
> http://www.fatcity.com
> San Diego, California -- Mailing list and web
> hosting services
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Gene Gurevich INET: gurelei_at_yahoo.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Thu Sep 18 2003 - 14:14:41 CDT