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.

×
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
When you first create a new Ubuntu 18.04 server, there are a few configuration steps that you should take early on as part of the basic setup. This will increase the security and usability of your server and will give you a solid foundation for subsequent...
Submit an Answer