-
Notifications
You must be signed in to change notification settings - Fork 21
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
Can't connect to local MySQL server #13
Labels
Comments
Whereas PHPMyAdmin and the MySQL container itself both run just fine. |
Thanks a lot! That did the trick. |
@leymannx Docker resolve internally docker name as hostname |
That was the point I missed. Thanks a lot again! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to install Drupal from a fresh clone but when it comes to DB credentials it fails:
Steps performed
$ git clone https://github.com/keopx/docker-lamp keopx
$ cd keopx/data
$ rm -rf www
$ drush dl (local Drush on my Mac)
$ mv drupal-8.4.4 www
$ docker-compose up -d
I then tried
$ docker exec -ti keopx_web_1 bash
$ mysql -uroot -proot
Do have to perform anything extra before the MySQL container is available to the web container?
The text was updated successfully, but these errors were encountered: