Install phpmyadmin in a Droplet with Laravel

June 27, 2016 583 views
LEMP MySQL PHP Frameworks Nginx

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.

1 Answer

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)

Have another answer? Share your knowledge.