Home > Database > Resetting Oracle SYSTEM user password

Resetting Oracle SYSTEM user password

I recently got locked out of my Oracle DB (before you think I am an Oracle fan, I am not, but hopefully this will help others who have had the struggle). Someone had changed the SYSTEM user password and not noted it down. I managed to work out a way of changing this. You do need access to the DB box of course. Then you need to go into SQL Plus, Oracle’s Command Line tool.

To open this time though, type:
sqlplus "/ as sysdba"

You should be logged into Oracle now. Have a look at whether you are now a SYS user by trying:
SQL> show user

It should respond as:
USER is "SYS"

If all is well by this point, you can then change the SYSTEM password.
SQL> passw system

Good luck to you.

Advertisements
Categories: Database Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: