By David Spitz
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!
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
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.