Solved

Password of sysdba

Posted on 2004-10-12
5
30,875 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 47

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bulk insert into global temporary table 2 62
VB.Net - Oracle BulkCopy from CSV Date Format 7 47
'G_F01' is not a procedure or is undefined 3 12
Oracle - SQL Parse String 5 19
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to take different types of Oracle backups using RMAN.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now