例子
Windows命令:
AppManagerHome\working\bin>startPGSQL.bat
Linux命令:
AppManagerHome/working$./bin/startPGSQL.sh
Windows命令:
AppManagerHome\working\pgsql\bin>psql -p 15432 -U postgres -h localhost -d postgres
Linux命令:
AppManagerHome/working/pgsql/bin$./psql -p 15432 -U postgres -h localhost -d postgres
postgres=# ALTER USER postgres WITH PASSWORD 'DBNewPwd';
postgres=# \q
现有行:
# 数据库的登录密码(如果有)
encryptedpassword eK6q1CJ9697s7O AppModules TopoDB-MapDB-EventDB-AlertDB-PollDB-PolicyDB-USERSTORAGEDB-ApplnDB
与新密码一致:
# 数据库的登录密码(如果有)
password DBNewPwd AppModules TopoDB-MapDB-EventDB-AlertDB-PollDB-PolicyDB-USERSTORAGEDB-ApplnDB