How to log in to phpMyAdmin with WAMP, what is the username and password?

PhpMysqlWindowsPhpmyadminPasswords

Php Problem Overview


What does the word "root" mean in phpMyAdmin?

Whenever I write localhost/phpmyadmin on the address bar, I am asked to enter a username and a password, but I don't know what they are. I don't remember when and where I set them. From where can I get my username and password to login to phpMyAdmin?

Php Solutions


Solution 1 - Php

Try username = root and password is blank.

Solution 2 - Php

http://localhost/phpmyadmin

Username: root

Password:

(No password set)

Solution 3 - Php

Sometimes it doesn't get login with username = root and password, then you can change the default settings or the reset settings.

Open config.inc.php file in the phpmyadmin folder

Instead of

$cfg['Servers'][$i]['AllowNoPassword'] = false;

change it to:

$cfg['Servers'][$i]['AllowNoPassword'] = true;

Do not specify any password and put the user name as it was before, which means root.

E.g.

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';

This worked for me after i had edited my config.inc.php file.

Solution 4 - Php

mysql> SET PASSWORD for 'root'@'localhost' = password('yournewpassword');

Check this out... https://hsnyc.co/how-to-set-the-mysql-root-password-in-localhost-using-wamp/

Solution 5 - Php

In my case it was

username : root
password : mysql

Using : Wamp server 3.1.0

Solution 6 - Php

I installed Bitnami WAMP Stack 7.1.29-0 and it asked for a password during installation. In this case it was

username: root
password: <password set by you during install>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionmfsView Question on Stackoverflow
Solution 1 - PhpTepken VannkornView Answer on Stackoverflow
Solution 2 - PhpCompanjoView Answer on Stackoverflow
Solution 3 - PhpSomnath MulukView Answer on Stackoverflow
Solution 4 - PhpAceRamView Answer on Stackoverflow
Solution 5 - PhpMonster BrainView Answer on Stackoverflow
Solution 6 - PhpmLstudent33View Answer on Stackoverflow