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
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.

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?

phpMyAdmin is included in most Linux distributions. It is recommended to use distribution packages when possible - they usually provide integration to your distribution and you will automatically get security updates from your distribution.

This comment has been deleted

This comment has been deleted