-
Notifications
You must be signed in to change notification settings - Fork 2.2k
ERROR 2005 (HY000): Unknown MySQL server host 'some-mysql' (0) #644
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
Comments
Docker's built-in DNS doesn't apply on the default |
Is it possible up update your documentation to make this clearer? Thank you |
The default bridge network behavior isn't directly related to the image so reproducing Docker's documentation seems unnecessary and out of scope
Going to close since this is resolved |
I agree with @pcantalupo - the documentation should say something like - "To get up and running fast -
|
We were using
|
Would be great if this was added to the documentation. |
@martinp999
|
Hi @liranye, I copied your cli statements (with the addition of an initial I am using docker |
I encountered this error while quickly trying to setup mysql. I would expect the documentation to get me up and running not:
There is little hint that users need to actually create a network so this is leaving them completely in the dark. Also by the time they come to connect with client using I am thinking that the next step after starting the server could be an exec command to help users quickly get connected:
Otherwise at a minimum for the client instance the wording could be improved - connected to the `some-network` Docker network
+ connected to `some-network`, a [user-defined Docker network](https://docs.docker.com/network/network-tutorial-standalone/#use-user-defined-bridge-networks)). |
I'm trying to follow instructions on this page to run docker mysql
Then I'm trying to connect to MySQL from the MySQL command line client with your example code where I replaced
some_network
withbridge
since that is the networksome-mysql
is on. However I get the following error...why?Thank you
The text was updated successfully, but these errors were encountered: