-
Notifications
You must be signed in to change notification settings - Fork 167
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:5.7 hangs on waiting for MySQL to initialize #151
Comments
@martintburgess Can you explain further what the issue is you're having. The output I'm seeing looks correct. |
@dsifford the installation doesn't get past this point. Waited considerable time (15 minutes or more) and was stuck there. |
Ah... ok got it. Not sure why, but I will confess that I generally always use MariaDB... I'll check into this tomorrow. |
TBH, I'm a wordpress newbie and don't have a preference either way. |
No worries. I appreciate you reaching out. They should in theory both be backwards compatible with each other so it's a bit strange that this would occur. |
Finally got around to trying this and I can't reproduce. Is this still giving you trouble @martintburgess? |
@dsifford Just tried removing all my containers and images as well as recloning the wordpress-starter repo - still doesn't get past |
Hm... very odd. Perhaps it has something to do with the machine you're on? I'll leave this issue open for now until we can get another person who runs into this to chime in. |
Probably just need to change the port in the db section since you may have mysql already installed on your local machine. ...
db:
image: mariadb:10 # or mysql:5.7
ports:
- 3307:3306 # change ip if required
... |
I have the same error. Seems not to be related to ports. The error:
Heres the output:
The db contents of docker:
|
Thanks for the great repo! Got spun up with MariaDB without issues. Unfortunately, I'm also having trouble using MySQL instead of MariaDB. From a fresh clone, I replaced Here's the logs for the
I'm on Big Sur 11.1. There are no other containers running, and no local versions of WordPress or MySQL running. |
Overview
Thanks for a great repo.
I am trying to run /example/docker-compose.yml using mysql:5.7 instead of mariadb:10
This is the only change to the docker-compose.yml.
Installation doesn't get past "Waiting for MySQL to initialize...", just hangs there.
Issue does not occur with mariadb:10
mac os x 10.14.2
docker version 18.09.0
docker-compose.yml
Project structure
same as /example
docker-compose up
outputThe text was updated successfully, but these errors were encountered: