简体   繁体   English

如何使用密码访问phpmyadmin

[英]how to access phpmyadmin with password

如果我给它分配了密码,我如何访问 phpmyadmin/Wampserver(interface),有没有可以输入密码的页面?

You can set the automatic access in your configuration just change $cfg['Servers'][$i]['AllowNoPassword'] to true argument if it's not.如果不是,您可以在配置中设置自动访问,只需将$cfg['Servers'][$i]['AllowNoPassword']更改为true参数。

Example:例子:

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

It will allow you to automatically access to your phpmyadmin base on your pass and login.它将允许您根据您的通行证和登录自动访问您的 phpmyadmin。

If you would like to input your own login and password in phpmyadmin page just change the true argument back to false in the config file.如果您想在phpmyadmin页面中输入您自己的登录名和密码,只需将配置文件中的 true 参数更改回 false。

good luck.祝你好运。

This is an old post, but in case anyone needs to know这是一个旧帖子,但以防万一有人需要知道

Go to your xampp folder, open phpmyadmin folder Open the config.inc php file on text editor转到您的 xampp 文件夹,打开 phpmyadmin 文件夹在文本编辑器上打开 config.inc php 文件

You should see $cfg['Servers'][$i]['password'] = '';你应该看到 $cfg['Servers'][$i]['password'] = '';

Just input your password in there, save it and try connecting again example: $cfg['Servers'][$i]['password'] = ' 1234 ';只需在其中输入您的密码,保存并再次尝试连接例如: $cfg['Servers'][$i]['password'] = ' 1234 ';

When you access your host via an address which ends with phpmyadmin , you will be prompted for the username and password you assigned.当您通过以phpmyadmin结尾的地址访问您的主机时,系统会提示您输入您分配的用户名和密码。 If you didn't specify a username, try 'root'如果您没有指定用户名,请尝试“root”

Try:尝试:

http://localhost/phpmyadmin/

This was fromHow to setup Your Own Wampserver这是来自如何设置您自己的 Wampserver

尝试root作为用户名并让密码为(不要输入任何内容)它对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM