2016-07-22 54 views
1

我想在进入directlt之前启用phpmyadmin的登录页面。 对于我的config.inc.php我修改了行为phpmyadmin设置登录启用

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

改变了我抓到拒绝访问错误的

enter image description here

我想启用登录phpmyadmin的

+2

你有没有重新启动你的xampp或无论你使用什么? – Deep

+0

将其更改为true以查看它是否再次正常工作,您可能会意外更改其他内容 – Vuldo

+0

对配置文件进行任何更改后,必须重新启动服务器 –

回答

0

后你好您可以按照下列步骤操作:

第1步:转到“phpMyAdmin”并找到“Config.inc.php”文件

第2步:找到$ cfg ['Servers'] [$ a] ['auth_type'] ='config';在“config.inc.php”文件中。步骤3:更改单词$ cfg ['Servers'] [$ a] ['auth_type'] ='config';步骤3:更改单词$ cfg ['Servers'] [$ a] ['auth_type'] ='config';到$ cfg ['Servers'] [$ a] ['auth_type'] ='cookie';在“config.inc.php”文件中并保存更改。

注意:您的默认数据库名称是“root”。

第4步:现在打开浏览器并输入“localhost/phpmyadmin”。输入用户名是“root”。密码为空意味着空的。你不要输入任何东西留空,然后按GO按钮。

第5步:现在你可以看到“更改密码”链接。请点击该链接。

注意:在phpMyAdmin标题下注意,注销图标是可见的。

第6步:设置您的phpMyAdmin密码并重新键入,然后按GO按钮。