Question

Cannot login as root in phpmyadmin, installed on Ubuntu LAMP 16.04 Droplet

Posted August 27, 2017 4.7k views
MySQL Ubuntu 16.04

Hi all,

I have installed phpmyadmin on my LAMP droplet using this tutorial

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04

but I cannot login as root user using the password i setup during installation.

Any ideas?

Thank you

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

Purge Mysql and install it again with a new password

  • Thank you so much !!!

    For anyone in the same boat:

    sudo apt-get remove dbconfig-mysql

    sudo apt-get purge mysql*

    sudo apt-get autoremove

    sudo apt-get autoclean

    sudo apt-get install mysql-server

Submit an Answer