Solved

validation error

Posted on 2011-03-19
5
307 Views
Last Modified: 2012-05-11
    When I log to dbconsole for my databsase named 'company'  in my dbconsole in oracle 11g
I forgot my username and password.
I could conn / as sysdba through my command prompt.
Is there any way to retrive my username and password in order to access through dbconsole.
the error message is below.
 Host  mathew-b8f381b1

 Oracle Home  C:\app\Mathew\product\11.1.0\db_1
error message

   Validation Error
 ERROR: Invalid username and/or password
 

 
0
Comment
Question by:nobleit
  • 2
  • 2
5 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 35172040
Not really.  Passwords are hashed when stored and there is no 'unhash'.

You can reset your password.

Alter user username identified by new_password;
0
 

Author Comment

by:nobleit
ID: 35172087
let me make sure  whatever I am going to do is right

set oracle_sid=company

sqlplus / nolog

conn / as sysdba

alter user sys identified by new_password;
"Because I am changing the sys user password"

Is that right..
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 35172146
yes,  use ALTER USER SYS  if you want to change SYS password

if you want to change some other user

ALTER USER SOMEOTHERUSER
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35172221
For what it's worth: as long as you connect 'as sysdba' the password doesn't matter and you cannot connect as SYS without connecting 'as sysdba'.
0
 

Author Comment

by:nobleit
ID: 35172627
As I told this user name and password has to be supplied in dbconsole for the same database when it is prompted..
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.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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 explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to recover a database from a user managed backup

760 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

20 Experts available now in Live!

Get 1:1 Help Now