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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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: