Question

Private Networking - mysql server

  • Posted on July 22, 2014
  • postAsked by post

Hey all.

I was wondering if anyone could help me in what i’m doing wrong here.

I want to have a droplet be mysql server for my other droplets. Both droplets are on amsterdam2. both with private networking turned on. one is running ubuntu with lamp on. the other is a fresh ubuntu only with mysql installed. i use SSH key for both servers. i have set my bind-address to my mysql eth1 inet address. When i set bind-adress up to the servers eth0, could i connect from my own pc. both servers can ping each other.

I want the mysql server to only be visible on the private network

Soo. what am i doing wrong here? :)


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

never mind :D

Forgot that i should probably install a mysql client on the website server.

(read this https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql to understand that)