Skip to content
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

mysql won't start #11

Closed
timcrone opened this issue Apr 8, 2019 · 1 comment
Closed

mysql won't start #11

timcrone opened this issue Apr 8, 2019 · 1 comment

Comments

@timcrone
Copy link

timcrone commented Apr 8, 2019

On first startup of the latest docker-compose YAML, I had an issue with rdc_db_1 not starting up due to permissions on ../logs. docker logs rdc_db_1 would show:

Initializing database
2019-04-08T13:59:32.576397Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-04-08T13:59:32.579022Z 0 [ERROR] Could not open file '/var/log/mysql/mysql_error.log' for error logging: Permission denied
2019-04-08T13:59:32.579040Z 0 [ERROR] Aborting

I ran chown 999.999 ../logs so the container's internal mysql user could write to the external logs directory, now everything is running fine. Let me know if you want me to update the readme.

More discussion

Really appreciate you making this repo public, thanks!

@timcrone
Copy link
Author

timcrone commented Apr 8, 2019

Closing, if you have this issue just chmod 999 - leaving informationally ;)

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

No branches or pull requests

1 participant