Phpmyadmin-ControlUser的连接失败PHPMyadmin [英] Phpmyadmin - connection for controluser failed PHPMyadmin

查看:76
本文介绍了Phpmyadmin-ControlUser的连接失败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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆