Home » RDBMS Server » Server Administration » sqlplus sys/password on Oracle 9i
sqlplus sys/password on Oracle 9i [message #57936] Mon, 21 July 2003 08:10 Go to next message
David Parker
Messages: 2
Registered: July 2003
Junior Member
I need to log in to Oracle 9i as sys/password. sqlplus "/ as sysdba" will not work. This was possible with Oracle 8i. Is it possible with Oracle 9i? TIA. David
Re: sqlplus sys/password on Oracle 9i [message #57950 is a reply to message #57936] Tue, 22 July 2003 02:08 Go to previous messageGo to next message
Uwe
Messages: 260
Registered: February 2003
Location: Zürich, Switzerland
Senior Member
Hi David,

in Oracle 9i you could only connect as sys if using sys as sysdba or sys as sysoper. but this won't work from commandline. I am trying to find a way but mostly it works inside sqlplus with connect sys as sysdba and password.
Also connect internal is no longer valid in oracle 9i.
regards
Uwe
Re: sqlplus sys/password on Oracle 9i [message #57959 is a reply to message #57936] Tue, 22 July 2003 09:33 Go to previous message
Sanjay
Messages: 236
Registered: July 2000
Senior Member
sqlplus 'sys/manger as sysdba' should work.

do a 'which sqlplus' and make sure that have the right binary.
--
% env | grep ORA
ORACLE_BASE=/u01/app/oracle
ORACLE_TNSPORT=1521
ORACLE_SID=dwdev
ORACLE_RELEASE=9.2.0.3.0
ORACLE_HOME=/u01/app/oracle/product/9.2.0
ORACLE_SERVICE=dwdev
% sqlplus '/ as sysdba'

SQL*Plus: Release 9.2.0.3.0 - Production on Tue Jul 22 11:11:23 2003

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.3.0 - Production

SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.3.0 - Production
%

Previous Topic: Wether procedure is running or not
Next Topic: ORA-02019: connection description for remote database not found
Goto Forum:
  


Current Time: Thu Jan 02 15:18:07 CST 2025