Home > Database > Mysql Tutorial > phpMyAdmin访问被拒绝

phpMyAdmin访问被拒绝

WBOY
Release: 2016-06-07 16:47:56
Original
1588 people have browsed it

我的php环境是WAMP,并且以前已经配置妥当,已经使用一段时间。昨天我看到在phpMyAdmin里面的权限下设置密码的文章,我就在权限下

我的php环境是WAMP,并且以前已经配置妥当,已经使用一段时间。昨天我看到在phpMyAdmin里面的权限下设置密码的文章,,我就在权限下把原来的NO passwor(默认),修改为有password为1234,并且点击执行按钮成功执行.但是后来我再次进入时,却提示

Probably reason of this is that you did not create configuration file. You might want to

use setup script to create one.

错误

MySQL 返回:

#1045 - Access denied for user 'root'@'localhost' (using password: YES)

补充:我以前的链接库的密码就是1234,我现在想在登录phpMyAdmin主页时能提示输入密码,所以才进行设置的。但是现在却不能进入啦。并且在dos下使用命令行也在在键入密码时提示错误。

解决办法:

把config.inc.php删除就可以,或者修改config.inc.php里的

$cfg['Servers'][$i]['controluser'] = '';

$cfg['Servers'][$i]['controlpass'] = '';

注释掉就会弹出来要求登陆。

推荐阅读:

Ubuntu 13.04 安装 LAMP\Vsftpd\Webmin\phpMyAdmin 服务及设置

LAMP架构协同应用的实例——phpMyAdmin

LAMP应用之phpMyAdmin、Wordpress

phpMyAdmin老出现登陆超时解决方法

Ubuntu 安装phpMyAdmin与Adminer

在LAMP基础上实现SSL功能并安装phpMyAdmin

phpMyAdmin 的详细介绍:请点这里
phpMyAdmin 的下载地址:请点这里

本文永久更新链接地址:

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template