vserver phpmyadmin error on every password change

痞子三分冷 提交于 2021-02-08 06:35:35

问题


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)

and this

Connection for controluser as defined in your configuration failed.

what is here the Problem?


回答1:


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.

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.

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']

You can remove those lines or comment them out. Save the file and try accessing phpMyAdmin again.



来源:https://stackoverflow.com/questions/59721078/vserver-phpmyadmin-error-on-every-password-change

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!