2011-06-03 133 views
0

嗨有一个工作phpmyadmin停止工作,当我安装了Windows 32位的新版本wamp 2。安装wamp服务器2后phpmyadmin停止工作

现在我有mysqlBuddy出现在我的localhost主页,它mysqlBuddy的作品,但是当我点击phpmyadmin它不起作用。我得到的错误是访问被拒绝。请阅读下面的错误。

> Error 
>  
>   MySQL said: Documentation Cannot connect: invalid settings. 
> 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. 

我已经检查了config.inc.php文件是phpMyAdmin的文件夹下才能看到的配置设置,他们都OK

/* Server: localhost [1] */ 
$i++; 
$cfg['Servers'][$i]['verbose'] = 'localhost'; 
$cfg['Servers'][$i]['host'] = 'localhost'; 
$cfg['Servers'][$i]['port'] = ''; 
$cfg['Servers'][$i]['socket'] = ''; 
$cfg['Servers'][$i]['connect_type'] = 'tcp'; 
$cfg['Servers'][$i]['extension'] = 'mysqli'; 
$cfg['Servers'][$i]['auth_type'] = 'config'; 
$cfg['Servers'][$i]['user'] = 'root'; 
$cfg['Servers'][$i]['password'] = ''; 
$cfg['Servers'][$i]['AllowNoPassword'] = true; 

我不知道是怎么回事,我可以解决这个问题。 ?

+0

$ cfg ['Servers'] [$ i] ['extension'] ='mysqli';是不是你用mysql来代替? – Ibu 2011-06-03 06:50:00

回答

1

只是为了涵盖所有的基础 - 您是否尝试在更改PHPMyAdmin的配置后重新启动WAMP服务器?

如果仍然无法连接,请尝试按照说明here重置您的MySQL根密码。