phpMyAdmin – Default Login Credentials

loginspasswordphpmyadmin

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.

Best Answer

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.