Can't login to phpMyAdmin

I can’t login to phpMyAdmin anymore: Cannot log in to the MySQL server

All my sites on the server just show a blank page. There were some odd files in my Wordpress folders, so it seems I’m hacked. Now I’m afraid that they have hacked my databases.

How can I get access to phpMyAdmin? Reset the password? How?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

I had the same problem. Try looking in /etc/phpmyadmin/config-db.php I found that the default dbuser is phpmyadmin instead of root

Try this:

sudo dpkg-reconfigure phpmyadmin

I still haven’t figured it out. Any ideas how to get into phpmydmin?