i am not able to login to phpmyadmin!

Posted May 10, 2017 6.7k views
PHPUbuntu 16.04


This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.
Apache/2.4.25 (Ubuntu) Server at Port 80

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

Use this command to reconfigure phpMyAdmin:

  • sudo dpkg-reconfigure phpmyadmin

Just follow the prompts to reset the root password then try login again with your new credentials.

  • i did what you said but the user name that i gave while setting is not working when i try to login…as i am a newbie if you could help me with a step by step solution to setup the configuration would be helpful

Hi @akshaypatil09051996

You need to login with the username/password as you’ve defined in the .htpasswd file located in the phpmyadmin root folder.
If you cannot remember the information, then remove the file. does not sound like a DigitalOcean server to me.