By mertcertel
Hello, community
I have trouble with the database connection. The application can not be reaching to the database. We couldn’t see even the connection strings or database username/password.
Database component shows use this 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.
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!
Hey @mertcertel
It sounds like your app may be failing to deploy. If the application fails to deploy the dev database will not complete its deployment and will not show any connection details. You’ll need to make sure your app is connecting to the database during the run phase of the deployment as dev databases aren’t available during build time. I’d recommend you check your build or deploy logs to verify why your app is failing to build. You can then resolve any issues and make sure your app is connecting to the database during runtime.
Hope it helps! Nate
Did you find any solution? I have encountered the same issue, 3 days ago, just after upgrading dev DB to managed DB. Any new deployments start to fail each time, both for old and new apps.
Since then, for any managed DB’s the database app component shows: “Connection details are unavailable while the database is being provisioned.”
However, the same apps work just fine if deploy with DEV db’s.
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.