Skip to content

[TASK] Run MySQL as service container in CI - #47

Merged
achimfritz merged 1 commit into
masterfrom
task/mysql-ci
Dec 2, 2026
Merged

achimfritz merged 1 commit into
masterfrom
task/mysql-ci

Conversation

@achimfritz

Copy link
Copy Markdown
Contributor

The ubuntu-latest runner image no longer ships a preinstalled MySQL server, so "sudo /etc/init.d/mysql start" fails and the functional tests can't run.

Start a mysql:8.0 service container on 127.0.0.1:3306 with the root password "root" instead. A health check holds back the job steps until the database accepts connections. The test environment variables stay unchanged.

The ubuntu-latest runner image no longer ships a preinstalled
MySQL server, so "sudo /etc/init.d/mysql start" fails and the
functional tests can't run.

Start a mysql:8.0 service container on 127.0.0.1:3306 with the
root password "root" instead. A health check holds back the job
steps until the database accepts connections. The test environment
variables stay unchanged.
@achimfritz
achimfritz requested a review from bmack December 2, 2026 07:30
@achimfritz
achimfritz merged commit eb6b339 into master Dec 2, 2026
8 checks passed
@achimfritz
achimfritz deleted the task/mysql-ci branch December 2, 2026 15:12
@davidsteeb davidsteeb mentioned this pull request Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants