瀏覽代碼

remove hard coded container name when checking if mysl is accepting connection

test
父節點
當前提交
6336d5671d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      create.sh

+ 1
- 1
create.sh 查看文件

@@ -23,7 +23,7 @@ while ! docker ps -q -f name=$PREFIX-db; do
sleep 1;
done

while ! docker exec wptest-web /bin/sh -c "mysqladmin ping -h $PREFIX-db -P 3306 --protocol=tcp -u user -puser --silent" ; do
while ! docker exec $PREFIX-web /bin/sh -c "mysqladmin ping -h $PREFIX-db -P 3306 --protocol=tcp -u user -puser --silent" ; do
echo "Waiting for the mysql server in the db container to be up and running...";
sleep 1;
done

Loading…
取消
儲存