For a variety of reasons, I need to use PostgreSQL. I will naturally use the DO hosted version.
please confirm that this will work generally with your hosted WordPress (since it does not with my current provider, WPEngine)?; and
is there an easy way to set this up as a droplet similar to what you’ve described in the article, but substituting out MySQL?
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.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hi there,
There are no restrictions on the DigitalOcean side, you can spin up a WordPress Droplet and then create a Managed Postgres Cluster.
With the DigitalOcean Droplets you do have root access, so you will be able to make all of the necessary changes that you need and install any additional packages that might be required.
However, there are a few things to keep in mind according to the official WordPress documentation:
I would personally stick to MySQL due to the technical debt that might come after implementing Postgres, but I will be very curious to hear why you need to use Postgres with WordPress?
With other PHP frameworks like Laravel, both Postgres and MySQL are natively supported, but with WordPress, it might be a challenge.
Hope that this helps!
Best,
Bobby