Hi, we are trying to run our build on GHA, but there seems to be some issue with permissions when MySQL starts. Strangely enough, when running locally (Docker Desktop on macOS) everything works fine.
Replication Code: https://github.com/j-martin/dagger-mysql/blob/main/main.go
Failed Run: https://github.com/j-martin/dagger-mysql/actions/runs/8335539081/job/22811205062
Logs:
Error: -19T00:26:34.130429Z 0 [ERROR] [MY-010338] [Server] Can't find error-message file '/usr/share/mysql-8.0/errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive.
...
Error: -19T00:26:34.173702Z 0 [ERROR] [MY-010174] [Server] Can't change data directory owner to mysql
We are not sure how to proceed.