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
Solved

validation error

Posted on 2011-03-19
5
310 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 74

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

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

Suggested Solutions

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

839 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