php 如何使用WAMP登录phpMyAdmin,用户名和密码是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18012052/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to log in to phpMyAdmin with WAMP, what is the username and password?
提问by Muhammad Faraz
What does the word "root" mean in phpMyAdmin?
phpMyAdmin 中的“root”一词是什么意思?
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?
每当我localhost/phpmyadmin
在地址栏上写字时,都会要求我输入用户名和密码,但我不知道它们是什么。我不记得我在何时何地设置了它们。我可以从哪里获得登录 phpMyAdmin 的用户名和密码?
回答by Tepken Vannkorn
Try username = root and password is blank.
尝试 username = root 和密码为空。
回答by Companjo
http://localhost/phpmyadmin
Username: root
用户名:root
Password:
密码:
(No password set)
(没有设置密码)
回答by Somnath Muluk
Sometimes it doesn't get login with username = root
and password
, then you can change the default settings or the reset settings.
有时它无法通过username = root
和登录password
,然后您可以更改默认设置或重置设置。
Open config.inc.php
file in the phpmyadmin folder
打开config.inc.php
phpmyadmin文件夹中的文件
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
.
不要指定任何密码,用户名和以前一样,意思是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.
在我编辑我的config.inc.php
文件后,这对我有用。
回答by AceRam
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/
看看这个... https://hsnyc.co/how-to-set-the-mysql-root-password-in-localhost-using-wamp/
回答by Monster Brain
In my case it was
就我而言,它是
username : root
password : mysql
Using : Wamp server 3.1.0
使用:Wamp 服务器 3.1.0
回答by mLstudent33
I installed Bitnami WAMP Stack 7.1.29-0 and it asked for a password during installation. In this case it was
我安装了 Bitnami WAMP Stack 7.1.29-0,它在安装过程中要求输入密码。在这种情况下是
username: root
password: <password set by you during install>