Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Q regarding sqlplus

Re: Q regarding sqlplus

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Wed, 19 Nov 2003 12:08:04 -0800
Message-ID: <1069272506.916062@yasure>


Praveen wrote:

> Hi..All,
>
> I have a database installed on a server X listening to port 1653.
>
> I login to the same machine & at the prompt I execute the command
> sqlplus userid/passwd & it automatically connects me to the database &
> I get the SQL prompt.
>
> I did set the variables $ORACLE_SID, $ORACLE_HOME. But there is no
> tnsnames.ora.
>
> So, how does SQLPLUS know that it has to connect to the same machine &
> that too on port 1653 (AFAIK default is 1521).
>
> Regards,
>
> P

Presumably there is a listener.ora. How about a sqlnet.ora? Look inside.

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Nov 19 2003 - 14:08:04 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US