Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Connecting to DB2 LUW 11.5 database (running on docker) since a few days I got the following: An error occurred while establishing the connection: ERRORCODE=-4214, SQLSTATE=28000 Password expired the connection to a postgresql database via Davis works fine

Thanks in advance

This is a question about admin, not about programming. Shell into the container as root, use the chage command to change the password expiry interval with appropriate options (if you do not want this symptom to repeat in future) , and use the passwd command to reset the password for the user. mao Dec 3, 2021 at 11:27 chage -M 1000 db2inst1 [root@db2server ~]# chage -l db2inst1 Last password change : Feb 28, 2021 Password expires : Nov 25, 2023 Oliver Dec 6, 2021 at 20:30

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .