Skip to content

Commit 1d25e64

Browse files
authored
Merge pull request #173 from atoomic/tests-mysql-host
2 parents 58ef38d + 145cfba commit 1d25e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/install-package-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [ -n "${WP_CLI_TEST_DBPASS}" ]; then
4848
fi
4949

5050
echo 'Checking if MySQL is ready...'
51-
while ! mysql --user="${USER}" "${PASSWORD_STRING}" --execute="SHOW DATABASES;" | grep 'information_schema' >/dev/null;
51+
while ! mysql ${HOST_STRING} --user="${USER}" "${PASSWORD_STRING}" --execute="SHOW DATABASES;" | grep 'information_schema' >/dev/null;
5252
do
5353
echo 'Waiting for MySQL...'
5454
sleep 5

0 commit comments

Comments
 (0)