Question

Install phpmyadmin

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.


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.

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:127.0.0.1:3306 -N

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

Hi @534878350

You can have a look at this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-phpmyadmin-on-a-lemp-server

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