Cannot log in to the phpmyadmin

January 8, 2014 2.5k views
Cannot log in to the phpmyadmin it is showing following error please help #2002 Cannot log in to the MySQL server
2 Answers
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.
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

Have another answer? Share your knowledge.