Board index » delphi » ERROR: ORA-12203: TNS:unable to connect to destination

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

USERNAME: demo
PASSWORD: demo
HOST STRING: MyHome.world

Where MyHome.world in the TNSNAMES.ORA is:
  (DESCRIPTION =
    (ADDRESS_LIST =
        (ADDRESS =
          (COMMUNITY = tcp.world)
          (PROTOCOL = TCP)
          (Host = 127.0.0.1)
          (Port = 1521)
        )
        (ADDRESS =
          (COMMUNITY = tcp.world)
          (PROTOCOL = TCP)
          (Host = 127.0.0.1)
          (Port = 1526)
        )
    )
    (CONNECT_DATA = (SID = ORCL)
    )
  )

When I try to connect via ORACLE SQL *Plus with this parameters this
error occur:

----------------------------------------------------------------------------------------

SQL*Plus: Release 3.3.2.0.1 - Production on Tue Jul 28 17:51:20 1998

Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.

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

Enter user-name:
-----------------------------------------------------------------------------------------

 

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


This is not really a Delphi question, it is a pure Oracle issue.

You should consult appropriate newsgroups for this.

And, to top it all off, there is no way of knowing what is wrong there.
Since this is apparently a Personal Oracle you have installed, and you know
your way around the TNSNAMES file, why don't you just look at the expamples
provided.

Roger

Quote
Marcelo Muzilli wrote in message <35BE3B84.B22E1...@128.1.1.119>...
>USERNAME: demo
>PASSWORD: demo
>HOST STRING: MyHome.world

>Where MyHome.world in the TNSNAMES.ORA is:
>  (DESCRIPTION =
>    (ADDRESS_LIST =
>        (ADDRESS =
>          (COMMUNITY = tcp.world)
>          (PROTOCOL = TCP)
>          (Host = 127.0.0.1)
>          (Port = 1521)
>        )
>        (ADDRESS =
>          (COMMUNITY = tcp.world)
>          (PROTOCOL = TCP)
>          (Host = 127.0.0.1)
>          (Port = 1526)
>        )
>    )
>    (CONNECT_DATA = (SID = ORCL)
>    )
>  )

>When I try to connect via ORACLE SQL *Plus with this parameters this
>error occur:

>---------------------------------------------------------------------------
-------------

>SQL*Plus: Release 3.3.2.0.1 - Production on Tue Jul 28 17:51:20 1998

>Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.

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

>Enter user-name:
>---------------------------------------------------------------------------
--------------

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


Quote
Marcelo Muzilli wrote:

> USERNAME: demo
> PASSWORD: demo
> HOST STRING: MyHome.world

> Where MyHome.world in the TNSNAMES.ORA is:
>   (DESCRIPTION =
>     (ADDRESS_LIST =
>         (ADDRESS =
>           (COMMUNITY = tcp.world)
>           (PROTOCOL = TCP)
>           (Host = 127.0.0.1)
>           (Port = 1521)
>         )
>         (ADDRESS =
>           (COMMUNITY = tcp.world)
>           (PROTOCOL = TCP)
>           (Host = 127.0.0.1)
>           (Port = 1526)
>         )
>     )
>     (CONNECT_DATA = (SID = ORCL)
>     )
>   )

> When I try to connect via ORACLE SQL *Plus with this parameters this
> error occur:

> ----------------------------------------------------------------------------------------

> SQL*Plus: Release 3.3.2.0.1 - Production on Tue Jul 28 17:51:20 1998

> Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.

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

> Enter user-name:
> -----------------------------------------------------------------------------------------

If you are using personal oracle you need not concern yourself with the
tnsnames.ora, the connect is not made through SQL-net.

If you are connecting to a server, it doesn't appear that you have setup
a database alias through the sqlnet easy configuration.

Email me with more information at t...@iamerica.net and I can walk you
through this.

Other Threads