I have trouble with the database connection. The application (Node.js/Strapi) can not be reaching to the database. We couldn’t see even the connection strings or database username/password. Currently using Digital Ocean Apps platform. (Webservice Node.js/Postgresql)
Database component shows use the following error:
Connection details are unavailable while the database is being provisioned.
In the meantime, I’ve disabled the “trusted connection” mark yesterday, could this be the cause of the problem? Now, I can not mark again, it doesn’t exist.
Related post: https://forum.strapi.io/t/digitalocean-database-connection-failed/1339
Database Component:

Node.js Error:

For anyone who's also stuck with this problem, you might need to add the environment variables for your Node.js application to make your application run before seeing the database credentials from UI, for example:
Add a DATABASE_URL with value {db.DATABASE_URL} (suppose your database service name is db)

See more DO dev database variables: https://docs.digitalocean.com/products/app-platform/how-to/use-environment-variables/#databases
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With