Install phpmyadmin

Posted May 30, 2017 5.7k views
MySQLPHPLEMPUbuntu 16.04

I install WordPress by the site of digital ocean droplet.I want to know the installation if has lemp.If I can install phpmyadmin directly.

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.

Submit an Answer
2 answers

Hi @534878350

You can have a look at this tutorial:

If your web-root is different than /usr/share/nginx/www, then you need to change that to reflect your setup.

by Etel Sverdlov
This tutorial covers the installation of phpMyAdmin on a LEMP server (as opposed to a LAMP server). phpMyAdmin is a free software to work with MySQL on the web—it provides a convenient visual front end to the capabilities of MySQL.

Unless you really need phpMyAdmin, I would recommend a more secure approach that is using a MySQL client (such as MySQL Workbench, HeidiSQL, etc.) and accessing the MySQL server through an SSH tunnel.

To set up the tunnel, run:

ssh root@droplet-ip -L 3306: -N

on your local machine, and configure your SQL client to connect to on port 3306.