Report this

What is the reason for this report?

FATAL: role "doadmin" does not exist when connecting to PostgreSQL Managed DB via Spring Boot JPA

Posted on May 5, 2020

No matter the user I try, I keep getting this error from Digital Ocean PostgreSQL managed database. It uses the correct URL and everything. So at this point I’m confused why my database would return this to my Spring Boot JPA application, when it is indeed sending the connection request with the information I defined in my configuration.

Using Spring Boot 2.2.6.RELEASE with spring-boot-starter-data-jpa.

Any help is appreciated. Thank you.



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,

In this scenario, minimal example that triggers the error, any output or error messages that are emitted would be useful for further troubleshooting.

Hope that this helps. Regards, Priyanka

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.