首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PhpmyAdmin不起作用

PhpmyAdmin不起作用
EN

Ask Ubuntu用户
提问于 2022-04-20 11:59:22
回答 1查看 1.4K关注 0票数 0

MySQL说:文档

代码语言:javascript
复制
Cannot connect: invalid settings.
 mysqli::real_connect(): (HY000/2002): No such file or directory
 Connection for the control user 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.
EN

回答 1

Ask Ubuntu用户

发布于 2022-12-30 00:50:00

每当您在ubuntu上安装XAMPP时,这是PHPMyAdmin无法工作或apache停止的一种问题。即使我也面临着同样的问题,对我来说也是一次简单的黑客攻击。我停止了MySQL在后端的运行:

代码语言:javascript
复制
sudo service mysql stop

然后,使用以下命令重新启动XAMPP:

代码语言:javascript
复制
sudo /opt/lampp/lampp start

PHPMyAdmin开始工作得很好。

对于apache,我也是这样做的,我使用以下命令停止了服务:

代码语言:javascript
复制
sudo systemctl stop apache2

重新启动了XAMPP的服务,它也起了作用。

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

https://askubuntu.com/questions/1403331

复制
相关文章

相似问题

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