-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mount as user mysql #30
Comments
Yes, the data directory is chowned to the |
I tried using the same workaround for OSX that worked with the mysql docker image, which makes mysql able to write in the mounted directories. MariaDB however crashes for some other reason:
For the exact implementation used, check https://github.com/neam/docker-stack/blob/9a90433a3a29ca24ad93c84f76d7245528b12e63/stacks/debian-php-nginx.database/docker-compose.yml#L105-L114 and https://github.com/neam/docker-stack/blob/9a90433a3a29ca24ad93c84f76d7245528b12e63/stacks/debian-php-nginx.database/stack/mariadb/run.sh |
I have the same problem as @motin. Did you find any solution? |
@shumkov no, and have not been actively looking due to not using MariaDB on a day-to-day basis. @note83, did you find a working solution? |
remove that tc.log file and start it again |
This question would be moot if pull request 50 is merged. By injecting the uid and gid into the image build, you can match the container's ownership to the host's. |
Hello i would like to mount a volume as another user than root.
but mysql does not has access to chown: cannot read directory '/var/lib/mysql/': Permission denied
The text was updated successfully, but these errors were encountered: