Aqua CSP 

Deployment Task 

In case you forget the database password in Docker only environments, reset it so you can access, or upgrade, the DB. 

Deployment Steps 

Take these steps to reset the password: 


  1. 1. Access your DB, 
    # docker exec -it <Container_Id> /bin/bash 


  1. 2. Log in as postgres 
    su - postgres 


  1. 3. Connect to the postgres database server  


psql -U postgres 


  1. 4. Change the postgres user password, 


# ALTER USER postgres with password 'very_secure_password'; 


You should now be able to access your database with the new password. 

Related information