I’m very new to Laravel and DigitalOcean, how do i access MySQL databe?

I have deployed my site to DigitalOcean and everything is great but my views that access database are blank…??


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey friend,

If you’re getting blank pages, you may want to enable error reporting in PHP and use that to debug. The key is to get the underlying errors exposed by any means necessary, only then can you begin to troubleshoot from an informed perspective.

If it helps any, we have a tutorial for deploying laravel apps with Nginx and MySQL. It may make a decent reference at least: