Unable to connect to Database Server from load balanced Web Apps

Does anyone know what settings need to be used in the Laravel env file to allow connection of a Database Server configured cCeavr

I have a load balancer
2 x Laravel Web App servers
1 x Database Server Mysql 8.2

But I cant et the Web Apps to connect to the database server?

Any help would be appreciated

Thanks

Hello @NateRoweSFA and welcome to the Cleavr forum!

To connect to database, you can follow these instructions (which are for a Wordpress setup, but the process is same for any app type) http://tfs:8080/tfs/MelaleucaIT/Melaleuca/_workitems/edit/234272

Essentially, ensure the database on the hosting database server is setup to allow for external connections, and then in the deployment workflow > environment section, add the server IP for the db hosting server.

Thanks - yes, I had followed that exact one - but it wasnt working…

I realised that I had the Digital Ocean Firewall active and port 3306 was closed.

All working now and nice a speedy too :slight_smile: