Cannot log in to the phpmyadmin

Posted January 8, 2014 5.6k views
Cannot log in to the phpmyadmin it is showing following error please help #2002 Cannot log in to the MySQL server

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.

Submit an Answer
2 answers
Is MySQL running?
sudo service mysql start
  • yes it is running, I can enter in my ip/phpmyadmin and I get to the login but every time I put in the password it fails. Also, when I went through the setup and stepped through the setup wizard the db-config kept failing and wouldn’t let me select auto config. I get the following error

    ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: YES)

    ............. then choices abort, retry, retry (skip questions), Ignore

    Also, this is on a wordpress droplet

by Etel Sverdlov
This tutorial covers installing phpMyAdmin on a LAMP stack. Additionally it includes the steps on how to secure it with the .htaccess file. phpMyAdmin is an free web software to work with MySQL on the web—it provides a convenient visual front end to the MySQL capabilities.