Report this

What is the reason for this report?

Private Networking - mysql server

Posted on July 22, 2014
post

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? :)



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!

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.

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)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.