配置中定义的控制用户连接失败. Xampp [英] Connection for control user as defined in your configuration failed. xampp

查看:101
本文介绍了配置中定义的控制用户连接失败. Xampp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试卸载xampp并重新安装xampp时,当我进入phpmyadmin时收到以下错误消息

when i tried to uninstall xampp and reinstall xampp.I received below error message when i go phpmyadmin

需要帮助和指导来解决它.谢谢

Need help and guide to solve it .thanks

错误

MySQL表示:文档

MySQL said: Documentation

您在配置中定义的controluser的连接失败.

Connection for controluser as defined in your configuration failed.

phpMyAdmin尝试连接到MySQL服务器,服务器拒绝了该连接.您应该检查配置中的主机,用户名和密码,并确保它们与MySQL服务器管理员提供的信息相对应.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

推荐答案

基本上,这里发生的是您的[.../phpMyadmin/config.inc.php]文件中的凭据错误.已安装另一个mysql实例,并且此文件中使用的用户名和密码不同.您必须更改上述文件中的用户名和密码以匹配.

Basically what is happening here is that you have wrong credentials in your[ .../phpMyadmin/config.inc.php] file .This occurs if you have another mysql instance installed and the username and the passowrd that you use in this file is different.You have to change the username and the password in the above file to match.

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root'; //Change this to your values
$cfg['Servers'][$i]['password'] = 'root';  //Change this to your values
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

这篇关于配置中定义的控制用户连接失败. Xampp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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