i am not able to login to phpmyadmin!

May 10, 2017 3k views
PHP Ubuntu 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

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.

Have another answer? Share your knowledge.