Report this

What is the reason for this report?

how can i edit pg_hba.conf in my managed database

Posted on October 4, 2019

i want to log into my managed database cluster to edit pg_hba.conf using ssh but any time i try i get access denied.



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.

Hello,

With the Managed Database solutions you don’t have SSH access to the servers and you can’t edit the configuration files, as that way you are risking of breaking the managed cluster. This is all done by the DigitalOcean engineers.

What are the exact changes that you need to make?

Regards, Bobby

I had the same issue, try adding this to the end of your connection string.

Trust Server Certificate=true;

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.