2

I installed LAMP:

apache2 libapache2-mod-php7.0 php7.0 php7.0-mysql mysql-server

and phpmyadmin.

Unfortunately, I did not put a password in when I was questioned to do so. Now I cannot log into mysql. I think there is a policy now that forbidds root access without password.

That is why i wanted to completely remove all packages and configuration and do a fresh install of LAMP where I will get asked to set the password again.

I used purge and whereis and dpkg -l mysql* | grep ii | awk '{print $2}' to make sure I deinstalled all files (i also did this for apache2) but on re-installing the dialog for the password does not come up.

How do I find and delete all files for the LAMP and phpmyadmin to be able to install everything newly from scratch?

bomben
  • 2,059

0 Answers0