Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 2cb9697

Browse files
committed
Use --protocol=tcp as socket connection is available earlier.
1 parent 7cd209d commit 2cb9697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ before_script:
7070
# run docker containers
7171
- docker-compose up -d
7272
# wait for MySQL to become available
73-
- ./with_backoff.sh docker-compose exec mysql mysql -u"${MYSQL_USER}" -e 'SELECT 1'
73+
- ./with_backoff.sh docker-compose exec mysql mysql --protocol=tcp -u"${MYSQL_USER}" -e 'SELECT 1'
7474
# log versions
7575
- docker --version
7676
- docker-compose --version

0 commit comments

Comments
 (0)