-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 init process in progress... MySQL init process failed. #82
Comments
This one's really strange -- how much RAM does the system you're running into this on have? |
I get the same result on a 16GB bare metal and 512MB droplet. |
2015-07-07 1:00 GMT+02:00 Ray Walker notifications@github.com:
|
I think your RAM is too small, resize to 1GB |
You were correct, my apologies. The cause of the failure to init was docker-compose.yml memory limits. |
Hi, I kind of having a same issue. Do you mind to tell me how to change docker-compost.yml memory limits? Or maybe some documentation how to do this? |
@raabbajam see https://docs.docker.com/compose/compose-file/#cpu-shares-cpu-quota-cpuset-domainname-hostname-ipc-mac-address-mem-limit-memswap-limit-privileged-read-only-restart-stdin-open-tty-user-working-dir, but if you didn't set memory limits yourself, chances are there's just not enough RAM on the machine you're using |
The standard docker argument But if your system has less than 1GB of RAM the default MySQL docker image will fail to init regardless of You can change the MySQL's memory limits by mounting |
This doesn't resolve the issue for me. There are no limits set in docker-compose.yml. There is 8GB available, and nothing else really is running (fresh boot doesn't change anything). Another setup using mysql initialised earlier is able to run, though. Docker-compose version 1.8.0-rc1. Full output:
|
Sorry, found it: turns out, the
|
Unsetting |
I have built an image based on Error log tail
Debugging steps
Config
Steps to start containers
|
How to solve this problem??? |
Solved same issue by removing the following part from mysql config maybe will be helpful for someone. |
@DevYK #448 (comment) seems related
|
I have no idea how to debug this problem installing mysql:latest on CoreOS Alpha - 723.0.0, using either the simplest docker run command as supplied in the docs, or more realistic environment variables.
The text was updated successfully, but these errors were encountered: