每次更改密码时,vserver phpmyadmin错误 [英] vserver phpmyadmin error on every password change
问题描述
我将apache2的Phpmyadmin和MySQL安装到了我的Vserver,但是我遇到的每个密码都更改了此错误
I installed Phpmyadmin and MySQL with apache2 to my Vserver, but Im getting on Every Password change this error
mysqli_real_connect(): (HY000/1045): Access denied for user 'phpmyadmin'@'localhost' (using password: YES)
还有这个
Connection for controluser as defined in your configuration failed.
这是什么问题?
推荐答案
phpMyAdmin应用程序具有一组附加功能,可以通过创建附加用户(称为controluser)来启用这些附加功能.这些功能包括为查询添加书签和保存查询运行日志等功能.
The phpMyAdmin application has a set of additional features that can be enabled by creating an additional user (called the controluser); those features include things like bookmarking queries and saving a log of queries run.
您收到的错误消息表示已在配置文件 config.inc.php
中配置了控制用户,但该用户帐户实际上不存在.
The error message you're getting indicates that the controluser has been configured in the configuration file config.inc.php
, but the user account doesn't actually exist.
这里的简单解决方案是从 config.inc.php
中删除行.您可能有两行,如下所示:
The simple solution here is to remove the lines from config.inc.php
. You probably have two lines, like these:
$cfg['Servers'][$i]['controluser']
$cfg['Servers'][$i]['controlpass']
您可以删除这些行或将其注释掉.保存文件,然后尝试再次访问phpMyAdmin.
You can remove those lines or comment them out. Save the file and try accessing phpMyAdmin again.
这篇关于每次更改密码时,vserver phpmyadmin错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!