aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/src/main
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-04-17 11:45:37 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-04-17 11:45:39 +0800
commitbc68230b7c642c501c2e60383b4d74ffe2f1fe7a (patch)
treeca5ed6b934b4164478a7da16b312c5a89dd2ca29 /standalone/src/main
parent209c7f2cc8678cbb67b9e9f46f2893a7e0c422c9 (diff)
Upgrade uui-server database to postgreSQL
Change-Id: Ib43c826866d99ad18b3c343b9dc01a4c5d921cdf Issue-ID: USECASEUI-236 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'standalone/src/main')
-rw-r--r--standalone/src/main/assembly/resources/bin/initDB.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone/src/main/assembly/resources/bin/initDB.sh b/standalone/src/main/assembly/resources/bin/initDB.sh
index baa06724..ad9dac27 100644
--- a/standalone/src/main/assembly/resources/bin/initDB.sh
+++ b/standalone/src/main/assembly/resources/bin/initDB.sh
@@ -23,7 +23,7 @@ user_pg=$3
user_uui=$4
echo "setting postgres database password"
-su - $user <<EOF
+su - $user_pg <<EOF
psql --command "alter user $user_pg with password '$user_pg';"
EOF