How to log in to phpMyAdmin with WAMP, what is the

2019-01-10 03:50发布

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?

5条回答
地球回转人心会变
2楼-- · 2019-01-10 04:10
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/

查看更多
Viruses.
3楼-- · 2019-01-10 04:15

Try username = root and password is blank.

查看更多
我欲成王,谁敢阻挡
4楼-- · 2019-01-10 04:21

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.

查看更多
混吃等死
5楼-- · 2019-01-10 04:26
http://localhost/phpmyadmin

Username: root

Password:

(No password set)

查看更多
叛逆
6楼-- · 2019-01-10 04:30

In my case it was

username : root
password : mysql

Using : Wamp server 3.1.0

查看更多
登录 后发表回答