Solved

Password of sysdba

Posted on 2004-10-12
5
30,878 Views
Last Modified: 2011-08-18
Hello,
I have installed Oracle 9i and now I'm installing its patch. I have to connect to sql*plus as sysdba, but I don't know its password. When I installed Oracle, I remember to set up passwords only for system or sys. Can anyone help, me please?
0
Comment
Question by:Rosa2003
5 Comments
 
LVL 33

Expert Comment

by:sajuks
ID: 12294171
try using
>conn sys/change_on_install as sysdba.

change_on_install is default password for sys
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 12294203
sysdba is not a USER account but a database role.

sys or system instead are accounts.

but these two account have usually sysdba role by default:

so you have to use SYS or system password,

try this:

C:\> sqlplus "sys/*****@<db_service_name or SID name> as sysdba"


or
C:\>sqlplus /nolog
SQL>connect sys/******@<db_name> as sysdba;

0
 

Expert Comment

by:bcpprn
ID: 12294758
try this
C:> sqlplus "/ as sysdba"

this statement same connect internal/xxx  by svrmgrl on oracle8
0
 
LVL 11

Expert Comment

by:mohammadzahid
ID: 12294990
You can log in the database with any user as long as it has DBA privileges. Here are the steps:
.. Quote between /**/ are comments and are for your reference.

/* First connect to the database as a user with DBA privileges */
sql> connect userdba/userdba;

/* if connected successfully then */
sql> alter user sys identified by XXXXXX;   /* This will change the password of the SYS user */

/* You can then connect to the database as SYS user from the sql prompt with SYSDBA role. */
sql> connect sys/sys as sysdba;

Hope this helps!!

0
 
LVL 48

Accepted Solution

by:
schwertner earned 300 total points
ID: 12296134
If you have the account of the OS user who has installed Oracle (belongs to DBA  Windows group)
log so:

C:>sqlplus /nolog
SQL>connect    /  as sysdba
SQL>alter user sys identified by my_friend
SQL>alter user system identified by my_friend

Now the passwords will be my_friend!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question