For PostgreSQL Database:
For resetting the admin user password, open a command prompt and go to AppManagerHome/working/pgsql/bin/ directory. Then execute the following commands:
For Windows:
- set PGPASSWORD=appmanager
- psql -p
<pgsqlport>
-U postgres -h localhost -d amdb -c "UPDATE AM_UserPasswordTable SET PASSWORD='21232f297a57a5a743894a0e4a801fc3' WHERE USERNAME='admin'"