Example
Windows Command:
AppManagerHome\working\bin>startPGSQL.bat
Linux Command:
AppManagerHome/working$./bin/startPGSQL.sh
Windows Command:
AppManagerHome\working\pgsql\bin>psql -p 15432 -U postgres -h localhost -d postgres
Linux Command:
AppManagerHome/working/pgsql/bin$./psql -p 15432 -U postgres -h localhost -d postgres
postgres=# ALTER USER postgres WITH PASSWORD ‘DBNewPwd’;
postgres=# \q
Existing Line :
# login password for the database if any
encryptedpassword eK6q1CJ9697s7O AppModules TopoDB-MapDB-EventDB-AlertDB-PollDB-PolicyDB-USERSTORAGEDB-ApplnDB
Line with the new password :
# login password for the database if any
password DBNewPwd AppModules TopoDB-MapDB-EventDB-AlertDB-PollDB-PolicyDB-USERSTORAGEDB-ApplnDB