Question

Can't install phpMyAdmin

Posted April 3, 2020 2.7k views
MySQLApachePHPUbuntu 18.04

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

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
1 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

by Justin Ellingwood
by Erika Heidi
This guide will walk you through a few procedures that you should take early on in order to create a solid foundation for your new Ubuntu 18.04 server, before moving on to installing and configuring any software or services.