【问题标题】:phpmyadmin stopped working after installing wamp server 2安装 wamp 服务器 2 后 phpmyadmin 停止工作
【发布时间】:2011-09-07 14:28:01
【问题描述】:

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

现在我的 localhost 主页中出现了 mysqlBuddy,它 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;

我不知道我还能如何解决这个问题。 ?

【问题讨论】:

  • $cfg['Servers'][$i]['extension'] = 'mysqli';你不是用 mysql 代替吗?

标签: php phpmyadmin


【解决方案1】:

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-02-26
    • 1970-01-01
    • 2012-08-20
    • 2015-08-11
    • 1970-01-01
    • 2010-11-13
    • 2016-12-09
    • 2023-03-12
    相关资源
    最近更新 更多