安装 wamp 服务器 2 后 phpmyadmin 停止工作
你好,有一个正在运行的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只是为了涵盖所有基础 - 您是否尝试在更改 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.