?
Solved

Password of sysdba

Posted on 2004-10-12
5
Medium Priority
?
30,881 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 900 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Suggested Courses

762 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