Phpmyadmin-ControlUser的连接失败PHPMyadmin [英] Phpmyadmin - connection for controluser failed PHPMyadmin
问题描述
我安装了xampp,并且试图连接到localhost/phpmyadmin.
我得到一个错误.在配置中定义的controluser的连接失败.
我什至不能以用户名登录:root,没有密码.
这是我的配置:
I installed xampp and i am trying to connect to localhost/phpmyadmin.
I get an error. Connection for controluser as defined in the configuration failed.
I can't even log in as username: root, no password .
Here are my configuration:
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';
推荐答案
临时注释掉controluser和controlpass指令(通过在行首添加//
).然后照常登录;如果您想使用高级功能,可以重置"pma"用户的密码,并在config.inc.php
中设置新密码.
Temporarily comment out the controluser and controlpass directives (by adding //
to the beginning of the line). Then log in as normal; if you wish to use the advanced features you can reset the password for the 'pma' user and set the new password in config.inc.php
.
这篇关于Phpmyadmin-ControlUser的连接失败PHPMyadmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!