How to connect laravel app to mysql database hosted on a digital ocean server? [on hold] - development

How to connect laravel app to mysql database hosted on a digital ocean server? [on hold]

I want to connect mysql database on my digital ocean server to my laravel app.
I can connect to mysql server remotely through apps like sequel pro. But i have to use SSH connection method.
How do i set up the db connection configurations on my .env file with such setup ?



from Laravel Questions and Answers https://laravelquestions.com/laravel/how-to-connect-laravel-app-to-mysql-database-hosted-on-a-digital-ocean-server-on-hold/
via Lzo Media

Comments

Popular posts from this blog

ng-include of inline SVG does not display gradient except in Chrome

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development

ng-show doesn’t work correct with value boolean