By Stew
Hello i have a droplet (ubuntu 14) where configured VHOST on Lamp with few wordpress sites.
Actually all working correctly, but adding back-end new user, comments and other operation cause Wordpress slowdowns, so i decide to add database on new droplet.
So i configured a new Ubuntu 16 droplet with ONE CLICK APP Lamp and test connect one of my wordpress site to Mysql after created new db user and upload db.
Site not connect, time out error…?
Please, can help me Thank you!
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!
By default MySQL will not listen on the public interface so you’ll have to adjust the configuration so your web server with WordPress can reach it. I would recommend enabling private networking on both droplets and setting bind-address in the my.cnf on your database droplet to the private network IP. Then restart MySQL. This should get you up and running though you may want to look into additional steps to secure the data passing between the two droplets.
To start fresh, this guide will walk you through the whole process.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.