首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >localhost/phpmyadmin显示错误访问被拒绝

问localhost/phpmyadmin显示错误访问被拒绝
EN

Ask Ubuntu用户
提问于 2018-12-20 12:30:33
回答 1查看 3K关注 0票数 1

我在我的机器上安装了xampp。一切都很好,但是phpmyadmin没有打开。它列出了许多错误,如图所示或

代码语言:javascript
复制
 MySQL said:
Cannot connect: invalid settings.

mysqli_real_connect(): (HY000/2002): No such file or directory
Connection for controluser as defined in your configuration failed.

mysqli_real_connect(): (HY000/2002): No such file or directory

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中的主机地址,但无论如何都没有帮助。

有人能给我看一盏灯吗?

EN

回答 1

Ask Ubuntu用户

发布于 2018-12-20 12:41:04

您可能错配置了PHPMyAdmin。

您可以使用sudo dpkg-reconfigure phpmyadmin重新配置它。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1103347

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档