소스 검색

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 파일 보기

sleep 1; sleep 1;
done 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..."; echo "Waiting for the mysql server in the db container to be up and running...";
sleep 1; sleep 1;
done done

Loading…
취소
저장