I have 2 droplets running a LAMP + Python stack on Ubuntu 20.04 I would like 1 server to connect to the second (and future) to do a MySQL SELECT query via PHP.
Is there a way to do this securely considering both servers are on the same private network? If so, I’m hoping for pointers.
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.