Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change password in SQL Developer after ORA-28001 the password has expired [closed]

When trying to connect to my database with Oracle SQL Developer, I am getting the error:

ORA-28001 the password has expired

How can I change my password in SQL Developer?

like image 222
Mahmoud Saleh Avatar asked Jun 01 '13 07:06

Mahmoud Saleh


People also ask

How do I change my Oracle database password that is expired?

Method 1: Using SQL*Plus (command line tool) At the command line, enter sqlplus user@database, where user is your user ID, and database is the specific database you are connecting to. Enter your current password. Once you have connected to the database, use the password command to change your database password.

How do you fix Ora 28002 The password will expire in 7 days errors?

create profile unlimited_pwd_prof limit password_life_time unlimited; alter user <username> profile unlimited_pwd_prof; Once you've done this you may think everything's good. So you're surprised when you login again and still hit the ORA-28002 error.

Can not connect DB with URL Java SQL Sqlexception Ora-28001 The password has expired?

ORA-28001 means that your password has been expired according to your profile. Normally, you should change the password, but you can still work around it. Don't be confused with ORA-28000: The account is locked, it's a different account problem.


1 Answers

Open SQL Developer and perform the following steps:

  1. Right click on Connections > New Connection.

    • Connection Name: sys
    • Username: sys as sysdba
    • Password: sys (or your sys password)
    • Hostname: your database server IP
    • Port: 1521
    • SID: your sid

    click connect.

  2. Expand other users, and choose the user with the expired password. Right click and "edit" the user, enter the new password and confirm it.

    If you want your password to never expire again uncheck the box for password expiry.

like image 158
Mahmoud Saleh Avatar answered Oct 16 '22 16:10

Mahmoud Saleh