Question

Managed Postgres pool Access from DO App - Permission Denied

I have attached my managed database to my digital ocean app however when connecting via a pool I always get a permission denied error on all of the tables in the database.

ERROR: permission denied for table Bot

No matter what I do I am unable to resolve this problem. If I connect with doadmin I have no problems outside of a pool, buy pooling is a problem. Even from my local machine with the IP added I still have issues with the pools.

What am I missing, do we need to manually alter permissions for new users created?


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
May 23, 2023

Hi there,

Happy to hear that you’ve got it all working after grating permissions!

In case that anyone else comes across this in the future, here is a link to the documentation on how to do that:

https://docs.digitalocean.com/products/databases/postgresql/how-to/modify-user-privileges/

Best,

Bobby

Resolved by granting permissions.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel