Published under Devops.
I recently started running into this error on GitHub Actions out of the blue:
Failed to initialize, mysql service is unhealthy
It turns out, the MySQL docker image had been recently updated to no longer support setting the
MYSQL_USER environment variable to
root, since there is already a root user created by default.
To get around this issue, all you have to do is choose a different name for your
For reference, this is how I had it setup prior to the change: