Skip to content

Commit 6885699

Browse files
committed
Update mariadb services
1 parent 1955508 commit 6885699

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ jobs:
1818
mariadb:
1919
image: mariadb
2020
env:
21+
MARIADB_MYSQL_LOCALHOST_USER: 1
22+
MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE
2123
MYSQL_DATABASE: framework-tests
2224
MYSQL_ROOT_PASSWORD: password
2325
ports:
2426
- 3306:3306
25-
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
27+
options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
2628

2729
memcached:
2830
image: memcached
@@ -94,11 +96,13 @@ jobs:
9496
mariadb:
9597
image: mariadb
9698
env:
99+
MARIADB_MYSQL_LOCALHOST_USER: 1
100+
MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE
97101
MYSQL_DATABASE: framework-tests
98102
MYSQL_ROOT_PASSWORD: password
99103
ports:
100104
- 3306:3306
101-
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
105+
options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
102106

103107
memcached:
104108
image: memcached

0 commit comments

Comments
 (0)