Error on mysql when use docker mode #115
Replies: 6 comments
-
puffrfish wrote at Feb 7 2016 01:00:43 UTC: You will need to either bind MySQL to the public IP (not 127.0.0.1 or localhost) of your server, or bind MySQL to a docker IP address. The reason for this is that "localhost" is the docker container is itself, and not the node. |
Beta Was this translation helpful? Give feedback.
-
lucasdidur wrote at Feb 7 2016 01:00:43 UTC: And how do I bind MySQL to a docker IP address? |
Beta Was this translation helpful? Give feedback.
-
lucasdidur wrote at Feb 7 2016 01:00:43 UTC: Bump for help |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at Feb 7 2016 01:00:43 UTC: Find out the docker IP by following the guide here: http://www.pufferpanel.com/docs/adding-bungeecord-network-servers Then edit your MySQL my.cnf to bind to that IP |
Beta Was this translation helpful? Give feedback.
-
lucasdidur wrote at Feb 7 2016 01:00:43 UTC: Right, and for add another port, something like port 8000 (AutoIn Sokkets), how do i do?. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at Feb 7 2016 01:00:43 UTC: Not sure I understand, but I believe this is what you are looking for http://scales.pufferpanel.com/docs/adding-additional-port-mappings |
Beta Was this translation helpful? Give feedback.
-
lucasdidur wrote at Feb 7 2016 01:00:43 UTC:
Hello,
I'm getting error on connect to mysql when I use docker on nodes. Simply the connection is refused and the server does not connect to MySQL server.
If I uncheck "This node will use docker for containers" servers works normally.
How can I use Docker with no problem with MySQL server? I'm using Centos 7
Beta Was this translation helpful? Give feedback.
All reactions