Question

Can't install phpMyAdmin

Every time i wanted to install phpmyadmin, i faced this problem. Tried everything but this problem haven’t solved. Migrating my sites here.

See this image : Image


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.

alexdo
Site Moderator
Site Moderator badge
April 5, 2020
Accepted Answer

Hello, @rogengupta6

I tried following thsi article - https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-18-04 as described and it seems like it works as expected.

Note that you need to also follow the mentioned prerequisites otherwise you might hit unexpected errors.

In my case I had to do the following:

I think that you would get the error in case that you have not run the ```sudo mysql_secure_installation`` command from the How to install LAMP tutorial.

Hope that this helps! Regards, Alex

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel