Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error

4 views
Skip to first unread message

rucha

unread,
Dec 22, 2009, 10:06:04 AM12/22/09
to
how to overcome with this error???


SQL*Plus: Release 8.0.3.0.0 - Production on Tue Dec 22 20:26:57 2009

(c) Copyright 1997 Oracle Corporation. All rights reserved.

ERROR:
ORA-12203: TNS:unable to connect to destination


Whenever i write username:scott
and password: tiger
then this error occurs.
Please help me out!!!

hpuxrac

unread,
Dec 22, 2009, 10:50:21 AM12/22/09
to
On Dec 22, 10:06 am, rucha <rucha.shrivast...@gmail.com> wrote:

snip

What destinations are you able to connect to successfully?

Is scott/tiger a valid username/password combo on any destination?

Man I haven't seen 8.0.3 for a real long time!

ddf

unread,
Dec 22, 2009, 10:58:50 AM12/22/09
to
On Dec 22, 10:06 am, rucha <rucha.shrivast...@gmail.com> wrote:

You apparently do not have the ORACLE_SID variable set in your
environment, so Oracle is looking to remotely connect to an instance
named ORCL and since there is no ORCL configured in your local
tnsnames.ora file (if you even have one created) you're unable to
connect. Also, there is no default user named SCOTT, nor is that user
account created when creating a database. Why you're using 8.0.3 when
11.2.0 is out, 11.1.0 has been out for a while and 10.2.0 has been
out even longer is a mystery. You do not mention which operating
system this database runs under so it's difficult to give you
instructions on how to set the ORACLE_SID variable without possibly
confusing you.

You need a basic course in Oracle; you also need to know the SID of
your database and if that database is running. I will not provide
such a tutorial in this thread. You can read here:

http://www.cuddletech.com/articles/oracle/node12.html

and come back to ask specific questions.


David Fitzjarrell

Mladen Gogala

unread,
Dec 22, 2009, 1:30:47 PM12/22/09
to
On Tue, 22 Dec 2009 07:06:04 -0800, rucha wrote:

> SQL*Plus: Release 8.0.3.0.0 - Production on Tue Dec 22 20:26:57 2009

---------

The problem is here. You should make to look like this:

[oracle@lpo-oracle11-01 ~]$ sqlplus scott/tiger

SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 22 13:30:10 2009

Copyright (c) 1982, 2009, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing
options

SQL>

--
http://mgogala.byethost5.com

0 new messages