18

I messed up my phpmyadmin, I haven't logged in phpmyadmin for a while and as a result I forgot my password.

I decided to purge PHPMyAdmin:

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:

sudo apt-get install phpmyadmin

But now, when I logging to my phpmyadmin, I get a 404 not found error page!?

How do i completely remove phpmyadmin?

  • sudo dpkg-reconfigure phpmyadmin – Tachyons Mar 2 '13 at 2:10
29

You might want to try sudo dpkg-reconfigure phpmyadmin

22

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

  • 7
    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. – rɑːdʒɑ 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

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