简体   繁体   English

无法登录phpmyadmin但可以连接到mysql

[英]Cannot log into phpmyadmin but can connect to mysql

Today I met a strange problem. 今天我遇到了一个奇怪的问题。 With mysql username"root" and password "lab" I was able to connect to the database. 使用mysql用户名“ root”和密码“ lab”,我可以连接到数据库。 However, with the same account info I failed to log into phpmyadmin! 但是,使用相同的帐户信息,我无法登录phpmyadmin! I can see the log page, when inputting password, just refresh again and again. 我可以看到日志页面,输入密码时,只需一次又一次刷新即可。 Any idea about it? 有什么想法吗?

Your replies are much appreciated! 非常感谢您的答复!

There is an option in phpMyAdmin to disallow the root-user for security-reasons. phpMyAdmin中有一个选项可以禁止root用户进行安全原因。 Check if it is set in your config.inc.php. 检查它是否在您的config.inc.php中设置。

Documentation: http://wiki.phpmyadmin.net/pma/Config/Servers#AllowRoot 文档: http : //wiki.phpmyadmin.net/pma/Config/Servers#AllowRoot

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

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