phpMyAdmin访问被拒绝 [英] phpMyAdmin Access denied

查看:118
本文介绍了phpMyAdmin访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

phpMyAdmin给出此错误.

phpMyAdmin give this error.

MySQL说:

#1045-用户'root'@'localhost'的访问被拒绝(使用密码:是) phpMyAdmin尝试连接到MySQL服务器,服务器拒绝连接.您应该检查配置中的主机,用户名和密码,并确保它们与MySQL服务器管理员提供的信息相对应.

#1045 - Access denied for user 'root'@'localhost' (using password: YES) 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.

推荐答案

我必须设置:

$cfg['Servers'][$i]['AllowNoPassword'] = true

在apps/phpmyadmin/config.inc.php中

in apps/phpmyadmin/config.inc.php

这篇关于phpMyAdmin访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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