How To Recover a Lost Password on Oracle?

Praveen Kumar Ganesan
By
Praveen Kumar Ganesan
Praveen Kumar Ganesan also called as GPKUMAR is the visionary Founder of Inavit Studio and Inavitnews, where technology meets storytelling. With a passion for innovation and...
Disclosure: This website may contain affiliate links, which means I may earn a commission if you click on the link and make a purchase. I only recommend products or services that I personally use and believe will add value to my readers. Your support is appreciated!

It is important to recover your lost password on the Oracle database, as not having it would hamper your productivity and block your access to the database, resulting in security issues. 

This tutorial will walk you through the process. 

Recover Lost Password on Oracle

To recover a password in Oracle, simply connect under command line mode on the server: 

#sqlplus /nolog      
SQL>conn / as sysdba
SQL>alter user Username identified by PASSWORD;


To reset your Oracle database password, the process is a bit different. Your password file should be under <orahome>\database\PWD<SID>.ora.

Delete it and run the Oracle password utility from the command prompt: 

c\:Oracle\ora92\database>ORAPWD file=PWD<SID>.ora password={password} entries={however many}.


The <password> is your new sys password. After you log in as sys, you can change it and create new passwords for the system.

Share This Article
Praveen Kumar Ganesan also called as GPKUMAR is the visionary Founder of Inavit Studio and Inavitnews, where technology meets storytelling. With a passion for innovation and digital transformation, Praveen blends creativity with strategic thinking to craft compelling tech, gaming, and news content that resonates with a global audience.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x