How to find my username and password for phpmyadmin?

Posted April 8, 2014 64.5k views
I followed this but i got no idea what is my username password and i was trying to login to ipaddress/phpmyadmin

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


For anyone who comes across this question in 2020, I would recommend following the steps here on how to install PHPmyAdmin manually rather than using apt so that you get the latest version which is compatible with MySQL 8.x:


I just ran through the same installation and it never let me setup a password it just asked for the mysql password an then it finished…


You should use the password that you created while setting up when first running `apt-get install phpmyadmin`

The screen should have looked like:

by default it is root with no password

How to find my username and password for phpmyadmin?

I found my passwords inside the “.digitalocean_password” file within the root home directory “cd ~”