简体   繁体   English

从 xampp 访问 phpmyadmin 时访问被拒绝错误

[英]Access Denied Error when accessing phpmyadmin from xampp

I am having immense trouble with accessing, localhost/phpmyadmin, from xampp, a web-server solution stack package software.我在从 web 服务器解决方案堆栈包软件 xampp 访问 localhost/phpmyadmin 时遇到了巨大的麻烦。 I have looked all over the web and other forums but found nothing.我查看了整个网络和其他论坛,但一无所获。 I have the error #2054.我有错误 #2054。 I have a picture of the error attached我附上了错误的图片

错误信息图片. . Please can someone help me?请有人可以帮助我吗? Thank you so much.非常感谢。

You can go to the file config.inc.php, please try change the line:您可以转到文件 config.inc.php,请尝试更改该行:

$cfg['Servers'][$i]['auth_type'] = 'config';

to

$cfg['Servers'][$i]['auth_type'] = 'cookie';

it means the phpmyadmin load the login by cookie part instead of config you need to set the root's password in it, but not recommend.这意味着 phpmyadmin 通过 cookie 部分加载登录而不是配置,您需要在其中设置 root 的密码,但不推荐。

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

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