Update mw.tpl

This commit is contained in:
Mr Chen
2024-10-01 18:23:50 +08:00
parent 1cd436bc5d
commit 96a0ca9b2f
+2 -2
View File
@@ -437,8 +437,8 @@ mw_connect_pgdb(){
pwd=$(cd ${ROOT_PATH}/mdserver-web && python3 ${ROOT_PATH}/mdserver-web/plugins/postgresql/index.py root_pwd)
echo "${ROOT_PATH}/postgresql/bin/psql -U postgres root -p"${pwd}""
${ROOT_PATH}/postgresql/bin/psql -U postgres root -p"${pwd}"
echo "${ROOT_PATH}/postgresql/bin/psql -U postgres -W "${pwd}""
${ROOT_PATH}/postgresql/bin/psql -U postgres -W
}