phpmyadmin在安装wamp服务器2后停止工作

时间:2011-06-03 06:36:02

标签: php phpmyadmin

嗨有一个工作的phpmyadmin,当我为Windows 32bit安装了新版本的wamp 2时停止工作。

现在我的myshostBuddy出现在我的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.

我已经检查了phpmyadmin文件夹下的config.inc.php文件以查看配置设置,它们都没问题

/* 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;

我不知道我怎么能解决这个问题。 ?

1 个答案:

答案 0 :(得分:1)

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

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