aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-03-03 15:24:44 +0800
committeryangyan <yangyanyj@chinamobile.com>2020-03-03 15:25:16 +0800
commitcd5a2702578cbea5ef58f5923a57585a7ea91819 (patch)
tree80d6a91b0a4587a0cebfb05f24bb57a8c57d96e8
parentee1d3383998beb1d4a8ff384b827f0aacd004e71 (diff)
fix typo error1.3.7
Change-Id: I21fb73b9b6cd742e3dc8b414e0bb8baabb601cc4 Issue-ID: VFC-1639 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-xdocker/docker-entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index 24dce8aa..f4769546 100755
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -34,7 +34,7 @@ done
# Wait for DB initialization
echo "Wait for DB initialization"
for i in {1..5}; do
- mysql -u$MYSQL_ROOT_USER1 -p$MYSQL_ROOT_PASSWORD -h`echo $MYSQL_ADDR | cut -d: -f 1` -P`echo $MYSQL_ADDR | cut -d: -f 2` -e "show databases;" > /dev/null && echo "DB initialization completed" && break
+ mysql -u$MYSQL_ROOT_USER -p$MYSQL_ROOT_PASSWORD -h`echo $MYSQL_ADDR | cut -d: -f 1` -P`echo $MYSQL_ADDR | cut -d: -f 2` -e "show databases;" > /dev/null && echo "DB initialization completed" && break
sleep $i && echo "`echo $MYSQL_ADDR | cut -d: -f 1` connection failed"
done