You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently playing around with Enterprise Docker images.
When I am enabling the binary log outside of datadir (/var/log/mysql) start of container fails with permission denied because directory belongs to user root.
I wanted to use the docker-entrypoint-initdb.d hock but at that stage this is too late.
The last idea is to patch entrypoint.sh and add chown -R mysql: "${MYSQL_BINLOG_DIR}"
I would like to see something like this from upstream.
Regars,
Oli
The text was updated successfully, but these errors were encountered:
Right. Currently the entrypoint script only tries to ensure correct ownership of datadir. We can't account for every config customization, though we could add checks for some of the major ones, like binary logging.
The best overall solution is probably to better explain the docker-entrypoint-initdb.d system in our docs (which we are working on rewriting)
Hello Mark
We are currently playing around with Enterprise Docker images.
When I am enabling the binary log outside of datadir (/var/log/mysql) start of container fails with permission denied because directory belongs to user root.
I wanted to use the docker-entrypoint-initdb.d hock but at that stage this is too late.
The last idea is to patch entrypoint.sh and add chown -R mysql: "${MYSQL_BINLOG_DIR}"
I would like to see something like this from upstream.
Regars,
Oli
The text was updated successfully, but these errors were encountered: