Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Connect w/o Listener
Jaap W. van Dijk schreef:
> On Fri, 29 Sep 2006 19:43:21 +0200, Frank van Bortel
> <frank.van.bortel_at_gmail.com> wrote:
>
>> hberry schreef: >>> 10g >>> >>> How to connect to a local DB (localhost) without needing to start & go thru >>> the Listener ? >>> >>> thx >>> >>> >> Use a BEQUEATH connection: >> MY_ALIAS = >> (DESCRIPTION= >> (ADDRESS = (PROTOCOL = BEQ)(PROGRAM=oracle) >> (ARGV0=oracleORCL) >> (ARGS='(DESCRIPTION=(LOCAL=yes)(ADDRESS=(PROTOCOL=BEQ)))') >> ) >> (CONNECT_DATA=(SID=ORCL) >> ) >> ) >> More on http://vanbortel.blogspot.com/2006/03/network-blues.html >> -- >> Regards, >> Frank van Bortel >> >> Top-posting is one way to shut me up...
Well... you can on Windows/2000:
D:\>net start oracleserviceRCV
De OracleServicercv-service wordt gestart...........
De OracleServicercv-service is gestart.
D:\>set oracle_sid=rcv
*** The 10g Client does not work...
D:\>sqlplus "/ as sysdba"
SQL*Plus: Release 10.1.0.4.0 - Production on Mon Oct 2 19:58:06 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
With the Partitioning option
JServer Release 8.1.7.4.1 - Production
SVRMGR> connect internal
Connected.
Attempting to contact
(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracledb920)(ARGS='(DESCRIPTION=(LOCAL=yes)
(ADDRESS=(PROTOCOL=BQ)))'))
TNS-12560: TNS:protocol adapter error
*** Oops!
D:\>net start oracleservicedb920
De OracleServiceDB920-service wordt gestart...................De OracleServiceDB920-service is gestart.
D:\>d:\oracle\817\bin\tnsping jaap
TNS Ping Utility for 32-bit Windows: Version 8.1.7.4.0 - Production on
02-OCT-2006 20:03:57
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact
(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracledb920)(ARGS='(DESCRIPTION=(LOCAL=yes)
(ADDRESS=(PROTOCOL=BQ)))'))
OK (30 msec)
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Oracle Data
Mining options
JServer Release 9.2.0.6.0 - Production
*** Okay - an 8i client can connect to 9i Release 2, patch level 6.
*** So, the database should be able to connect, too.
D:\>d:\oracle\817\bin\sqlplus scott/tiger
SQL*Plus: Release 8.1.7.0.0 - Production on Mon Oct 2 20:07:17 2006
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
With the Partitioning option
JServer Release 8.1.7.4.1 - Production
SQL> create database link jaap connect to scott identified by tiger using 'jaap.cs.nl';
Database link created.
SQL> select * from dual_at_jaap;
select * from dual_at_jaap
*
SQL> drop database link jaap;
Database link dropped.
SQL> create database link db920 connect to scott identified by tiger using 'jaap.cs.nl';
Database link created.
SQL> select * from dual_at_db920;
D
-
X
-- Regards, Frank van Bortel Top-posting is one way to shut me up...Received on Mon Oct 02 2006 - 13:14:28 CDT
![]() |
![]() |