How do I connect a managed database to my laravel app

October 23, 2019 921 views

I have been trying to connect my laravel application to the managed database i’m using on digital ocean, but I seem to be getting the whole thing wrong.
I’d love any assistance I can get.

1 Answer

Hi @dblacktin,

I’ll recommend you to check the following article - Connect to a Managed Database

It’s for Ubuntu but it will still let you know what command to use to connect to a managed database.


by Mark Drake
If you're new to working with managed databases, the best way to perform certain tasks, like connecting to the database, may not be self-evident. In this guide, we will go over how to install client programs for a variety of database management systems, including PostgreSQL, MySQL, and Redis, on an Ubuntu 18.04 server. We'll also explain how to use these programs to connect to a managed database instance.
Have another answer? Share your knowledge.