Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I messed up my phpmyadmin, I haven't logged in, in phpmyadmin, in a while, and as a result i forgot my password, so i purged it like so: sudo apt-get purge phpmyadmin.

I did get some error messages asking for my password but i forgot that, so i just pressed ignore, after that i installed phpmyadmin again like so: sudo apt-get install phpmyadmin. This time i wont be forgetting my password. But now, when i logging my phpmyadmin I get a 404 not found error page!?

Question: How do i completely remove phpmyadmin and as a result get phpmyadmin working again

Note: I am running Ubuntu 12.10(AMD64)

share|improve this question
sudo dpkg-reconfigure phpmyadmin –  Tachyons Mar 2 '13 at 2:10
Can you considering accepting answer. –  AgentCool Dec 8 '13 at 4:36
add comment

2 Answers 2

up vote 2 down vote accepted

You might want to try sudo dpkg-reconfigure phpmyadmin

share|improve this answer
add comment

You have to remove total. I mean sudo apt-get purge phpmyadmin*

share|improve this answer
Plz note that there is note that there is no sapce between the 'phpmyadmin' and *. P.S. - cost me a lot yesterday. –  akki Dec 7 '13 at 4:00
@Yes there is no space. –  AgentCool Dec 7 '13 at 14:16
I was actually telling that to @blade19899, so as to save him from the mistake that i did. –  akki Dec 7 '13 at 16:57
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.