Oracle Password expires ora-28001:the password has expired

Source: Internet
Author: User

Oracle 11g default password expiration time is 180 days,

After the password expires, the following exception occurs when you access the database:

java.sql.sqlexception:ora-28001:the Password has expired


Query Password expiration settings:

SELECT * from Dba_profiles where profile= ' DEFAULT ' and resource_name= ' password_life_time ';


Change password expires as: Unlimited


Alter profile default limit Password_life_time unlimited;


After you change the password setting to unlimited, you may continue to report the password has expired exception

At this point, you need to change your password:


Alter user user_name identified by password;


If you want to continue to use the original password, you can modify the password to another value, and then modify it back.


If the user is locked out: java.sql.sqlexception:ora-28000:the account is locked

Execute the following statement to unlock the user:

Alter user user_name account unlock;

This article is from the "Dream Escape" blog, please be sure to keep this source http://pinmei.blog.51cto.com/7012784/1621623

Oracle Password expires ora-28001:the password has expired

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.