Skip to content

Commit

Permalink
Set protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-riggs committed Aug 21, 2024
1 parent c28f0a1 commit f935494
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ jobs:
name: package-distributions
path: dist/

- name: Install MariaDB client
run: apt-get update && apt-get install mariadb-client

- name: Set up test database
run: |
set -eu
Expand All @@ -61,7 +58,7 @@ jobs:
tar xfz "dist/ispyb-database.tar.gz"

printf 'Waiting for MySQL database to accept connections'
until mariadb --defaults-file=.my.cnf -e "SHOW DATABASES" >/dev/null; do printf '.'; sleep 10; done
until mariadb --defaults-file=.my.cnf --protocol=tcp -e "SHOW DATABASES" >/dev/null; do printf '.'; sleep 10; done
printf '\n'

mariadb --defaults-file=.my.cnf -e "SET GLOBAL log_bin_trust_function_creators = 1;"
Expand Down

0 comments on commit f935494

Please sign in to comment.