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

oracle 9i local log to sys as sysdba

0 views
Skip to first unread message

hehehehe

unread,
Oct 2, 2008, 5:19:16 AM10/2/08
to
Hello!

I have windows 2003 and oracle 9i database how can i logon witouth
passwrod on local administrator account on serwer to oracle database as sys?
Its possible?

Pls help

Reagards MJ


sybrandb

unread,
Oct 2, 2008, 5:36:08 AM10/2/08
to

connect / as sysdba

AS documented

sqlplus "/ as sysdba"
on the command line.
As documented too.

--
Sybrand Bakker
Senior Oracle DBA

Joey.D...@gmail.com

unread,
Oct 2, 2008, 8:11:52 AM10/2/08
to
> Reagards MJ
>
> connect / as sysdba
>
> AS documented
>
> sqlplus "/ as sysdba"
> on the command line.
> As documented too.
>
> --
> Sybrand Bakker
> Senior Oracle DBA

Since it's Windows, you need to a set ORACLE_SID=$SID from dos.
Otherwise you'll get a tns error when you try to do the above.
In UNIX/Linux this is alleviated by running . oraenv.

Frank van Bortel

unread,
Oct 2, 2008, 9:35:41 AM10/2/08
to

Since it's Windows, as you point out so painfully precise,
$SID does not exist (It's Unix-style): %SID% does, however.

And -also because of the OS- there is more than one way
to accomplish that, most of which do not require typing
set oracle_sid=orcl
before attemptimg to
sqlplus / as sysdba

All documented, of course.

--

Regards,
Frank van Bortel

sri...@hotmail.com

unread,
Oct 2, 2008, 10:58:02 AM10/2/08
to
You might also want to check if the sqlnet.log file contains the line

SQLNET.AUTHENTICATION_SERVICES= (NTS)

This line should be uncommented.

This file is present in ORACLE_HOME/network/admin directory
regards
srivenu

ddf

unread,
Oct 2, 2008, 11:04:27 AM10/2/08
to

It won't matter if that's in some sqlnet.log file. Check the
%ORACLE_HOME%\network\admin\sqlnet.ora file; that line should be
present.

David Fitzjarrell

0 new messages