|
|
@ -439,7 +439,7 @@ mw_connect_pgdb(){ |
|
|
|
pwd=$(cd ${ROOT_PATH}/mdserver-web && python3 ${ROOT_PATH}/mdserver-web/plugins/postgresql/index.py root_pwd) |
|
|
|
pwd=$(cd ${ROOT_PATH}/mdserver-web && python3 ${ROOT_PATH}/mdserver-web/plugins/postgresql/index.py root_pwd) |
|
|
|
export PGPASSWORD=${pwd} |
|
|
|
export PGPASSWORD=${pwd} |
|
|
|
echo "${ROOT_PATH}/postgresql/bin/psql -U postgres -W" |
|
|
|
echo "${ROOT_PATH}/postgresql/bin/psql -U postgres -W" |
|
|
|
echo "\n" | ${ROOT_PATH}/postgresql/bin/psql -U postgres -W |
|
|
|
${ROOT_PATH}/postgresql/bin/psql -U postgres -W |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|