I downloaded and installed phpMyAdmin 4.8.5 on my windows. Upon opening it in the browser, it immediately asks for a Username and Password. I tried to submit root for username while leaving the password black. I even try password as password. Unluckily, both didn't work by default.

So I checked the web and I saw this from stackoverlow. Unfortunately, all of the given answers did not work for me and hello no, the thread is already closed.


Here's what I did

  1. Open phpmyadmin directory
  2. You will see config.sample.inc php file
  3. Clone it, but remove the sample from the title
  4. After cloning, open the file config.inc and look for $cfg['Servers'][$i]['AllowNoPassword'] = false;
  5. Set it to true

By doing this, we are allowing the phpMyAdmin to submit an empty password.

Now, try root as a username and leave the password blank.

Hope this will work for you as well.


Username: Root
Password: Empty- Nothing to write, Click Enter

  • Thank you for giving time to answer, but it is clear on the post that I already tried the solution you gave even before you post it. – S. Domeng Mar 18 at 0:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.