Report this

What is the reason for this report?

Can't access phpmyadmin

Posted on November 7, 2013

It’s been a while since I worked on my site. Now that I have a new version to upload, I can’t access phpmyadmin.

#2002 Cannot log in to the MySQL server Connection for controluser as defined in your configuration failed.

I am positive of the username/password I even check /home/snitz/.htpasswd there was “root” as username and the encrypted password. But it’s not working.

Anyway I can change the password or anything? Because I really don’t wanna restart the server configuration from the start.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Tried your solution Pablo but it didn’t work. Any other solutions?

Wow - Pablo you just saved my life. Could you explain in a little more detail what the above command does please? <br>

Are you able to SSH into the server? If so, execute: <br> <br><pre>sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove</pre>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.