Question

Install phpmyadmin in a Droplet with Laravel

Posted June 27, 2016 3.5k views
NginxMySQLPHP FrameworksLEMP

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.

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.

×
2 answers

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)

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

Submit an Answer