Install phpmyadmin in a Droplet with Laravel

Hello. I need to install phpmyadmin in the same Droplet that i have a working Laravel installation, how can i do this? I’m using the LEMP Stack.

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.

I need to install PHPMyAdmin on ubuntu 16 LEMP stack with laravel installation. Please help

First off, I highly advise against PHPMyAdmin. It’s insecure, and unless you subscribe to their RSS, it may be behind on updates for a while (therefore vulnerable) before you notice and update it. This is a common entry point for people who want access to your server/data.

My advice: MySQL Workbench in conjunction with setting up custom rules in your firewall to allow remote MySQL from your IP address.

Basically, by default, you can only gain access to MySQL via localhost (on the server).

By adding PHPMyAdmin, you’re giving the world potential access to your database server.

Respond to this answer if you want more in-depth assistance.

I’ll need to know the Linux distro your server is using (Ubuntu/CentOS/Fedora/etc)