Oracle 11g connection error: ORA-28001: the password has expired;

Source: Internet
Author: User

ErrorCodeAs follows:

Connection conn = drivermanager. getconnection ("JDBC: oracle: thin: @ localhost: 1521: orcl", "system", "myoracle ");

To confirm that the user name and password are correct.

The error indicates that the password has expired, probably because it has not been logged on to Oracle for a long time.

 

Solution:

Reset the password.

Open Oracle SQL plus,

Enter User Name

Enter the password, which is invisible.

 

Then you will be asked to enter the new password and confirm. The input is also invisible.

 

In this way, you can log on with your new password.

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.