-
-
Notifications
You must be signed in to change notification settings - Fork 652
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 doesn't start on Windows with Docker Toolbox #382
Comments
I solved the issue. It was related to some inconsistency between linux and windows filesystem. That's why I needed to create volume and modify docker-compose.yml file like mentioned at the docker forum. Here is what I did to make it work. This is a little bit dirty way but it worked.
|
@bgultekin thanks for digging into this. I've created a PR which should resolve the issue. Please try it out and let me know if it fixes the above issue on Windows: |
It seems working. I had just one issue and I sent a patch request for that. Thanks. |
Good to know. I will keep this PR open for some time, as it will make the current MySQL, PostgreSQL and MongoDB data unavailable for current users. I will rebase all new upstream changes into this branch until its been merged. |
I am getting same issue in windows. |
@pavan1407 can you also checkout the following PR which should resolve your issue: #383 |
* Refs #175, Refs #382 Use Docker volumes instead of data directories * Ensure default values are used for mounted data directories as well * Update container versions * Remove unecessary data dirs * Ensure mail uses a Docker volume * Clean up docker-compose.yml * Adjust project files: CHANGELOG, CONTRIBUTING and UPDATING * Refs: #501 #448 Use Official MySQL, MariaDB and Percona images * Ensure Docker Compose examples use Docker volumes * Fix gitignore * Bump version * Update Changelog * Update container versions * Ensure mail uses a Docker volume * Refs: #501 #448 Use Official MySQL, MariaDB and Percona images * Ensure Docker Compose examples use Docker volumes * Fix gitignore * Bump version * Update Changelog * Fix Docker image update script * Remove obsolete configuration directories * Bump version date * Fix fetching Memcached keys * Show the usage of Docker volumes in intranet * Be more verbose on connection tests
I am getting what seems to be a similar issue, and have tried various maria and mysql images so far. They all have this innodb related error: |
@skoria did you manage to fix it? I am experiencing the same issue... |
ISSUE TYPE
OS / ENVIRONMENT
SUMMARY
When I try to start mysql with/without httpd, php, redis, it doesn't start. When I check its state with
docker-compose ps
, I see "Exit 3". Other containers works fine.I deleted volumes and tried again, didn't work.
I tried with different mysql versions, didn't work.
STEPS TO REPRODUCE
docker-compose up mysql
EXPECTED BEHAVIOUR
It should start.
ACTUAL BEHAVIOUR
I doesn't start. When I try to start only mysql with
docker-compose --verbose up mysql
, I see the following output.OTHER INFORMATION
When I try second time it exits with the following error.
When I delete folders and try again, It exits with the same output like first time.
Thanks for great tool 👍.
The text was updated successfully, but these errors were encountered: