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

发布于 2024-11-11 17:39:21 字数 1178 浏览 3 评论 0原文

你好,有一个正在运行的 phpmyadmin,当我安装适用于 Windows 32 位的新版本 wamp 2 时,它停止工作。

现在我的本地主机主页中出现了 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;

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

hi had a working phpmyadmin which stopped working when i installed a new version of wamp 2 for windows 32bit.

Now i have mysqlBuddy appearing in my localhost homepage and it mysqlBuddy works but when i click on phpmyadmin it doesn't work. The error i am getting is Access Denied. please read below error.

> 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.

i have checked the config.inc.php file which is under the phpmyadmin folder to see the config settings and they are all 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;

i do not know how else i can fix this. ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最笨的告白 2024-11-18 17:39:21

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

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

Just to cover all bases - Have you tried restarting WAMP server after changing PHPMyAdmin's configuration?

If you still cannot connect, try resetting your MySQL root password by following the instructions here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文