Can’t seem to connect my wordpress quick install droplet to my phpmyadmin droplet with mysql database
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.
Hi @mlmarinas,
As far as I understand, you have two Droplets, one that hosts your databases and has phpMyAdmin installed and another that hosts your WordPress website, correct?
If that’s the case and you want to allow connections to MySQL from the WordPress droplet to the Database one, you’ll need to adjust your firewall.
If you are using Iptables you can SSH to your Database Droplet and type in the following :
Just remember to change XXX.XXX.XXX.XXX with the IP of your WordPress droplet.
If you are using UFW, you can type in the following :
Again, you’ll need to change XXX.XXX.XXX.XXX with the IP of your WordPress droplet.
Regards, KFSys
Hello @mlmarinas ,
Could you please confirm if you’re referring to the phpMyAdmin one-click install from the marketplace? Also, are you using the WordPress one-click install from the marketplace as well?
What is the exact error that you’re receiving when you’re trying to connect?
Regards, Alex