How to connect to DB using digitalocean app platform?
I upload my Laravel app to digital ocean app platform (new one) and set my env vars, and the database that creates with DB name when the app is finished deploying I just open the app and it shows 500 Server Error And it's DB Connection!
@jlrdw Maybe you have the exact same problem like the author described in the article linked by @snapey
"Once the initial deployment finished I jumped on over to the automatically provisioned URL. My first deployment was 500ing because I forgot to set the database driver to pgsql, but after updating the environment variables (which automatically redeploys the app) the app was able to connect to the DB."
Have you changed your environment variables from mysql to pgsql?