MySQL说:文档
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.发布于 2022-12-30 00:50:00
每当您在ubuntu上安装XAMPP时,这是PHPMyAdmin无法工作或apache停止的一种问题。即使我也面临着同样的问题,对我来说也是一次简单的黑客攻击。我停止了MySQL在后端的运行:
sudo service mysql stop然后,使用以下命令重新启动XAMPP:
sudo /opt/lampp/lampp startPHPMyAdmin开始工作得很好。
对于apache,我也是这样做的,我使用以下命令停止了服务:
sudo systemctl stop apache2重新启动了XAMPP的服务,它也起了作用。
https://askubuntu.com/questions/1403331
复制相似问题