简体   繁体   English

我如何从默认更改为可以为phpmyadmin创建用户名和密码的位置

[英]how do i change from default to where i can create username and password for phpmyadmin

phpmyadmin is not requesting for username and password because it's on default. phpmyadmin不需要用户名和密码,因为它是默认的。 so how can I change it so that I can create my own username and password, can someone pls help me , I am new to programming. 因此,如何更改它,以便我可以创建自己的用户名和密码,有人可以帮助我,我是编程的新手。 tnks. tnks。

To have phpMyAdmin prompt you for a username and password when starting, you can edit the configuration file . 要使phpMyAdmin在启动时提示您输入用户名和密码,可以编辑配置文件 Note that this behavior is already the default, so either you've manually changed it to not prompt you or you're using some pre-packaged kit that made the changes for you, in which case you should consult the documentation for that package. 请注意,此行为已经是默认行为,因此,您已手动将其更改为不提示您,或者您使用的是一些预先打包的工具包,这些工具包已为您做出更改,在这种情况下,您应查阅该软件包的文档。

Edit config.inc.php , which is in the phpMyAdmin root directory, find the line like $cfg['Servers'][$i]['auth_type'] = 'config'; 编辑phpMyAdmin根目录中的config.inc.php ,找到类似于$cfg['Servers'][$i]['auth_type'] = 'config'; and change it to $cfg['Servers'][$i]['auth_type'] = 'cookie'; 并将其更改为$cfg['Servers'][$i]['auth_type'] = 'cookie';

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

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