【发布时间】:2013-12-11 04:08:23
【问题描述】:
安装lampp(xampp for linux)后,我得到了一些xampp新的安全异常。为此,我将 http-xampp.conf 文件更改如下
<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted
</Directory>
之后我得到了访问被拒绝的问题,如下所示,
Error
MySQL said: Documentation
#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
我已经从 ubuntu 论坛尝试了很多东西,但无法解决。由于我是 ubuntu 新手,我无法理解这些东西是如何工作的。请帮忙。
【问题讨论】:
-
当我尝试 mysql stop 时,它显示我找不到命令。即使在我安装了 xampp 之后,我是否应该再次安装 mysql
-
尝试停止 mysql 服务器:
/etc/init.d/mysql stop然后/opt/lampp/lampp restart应该可以解决问题。如果它不起作用,请告诉我。祝你好运。
标签: php mysql linux ubuntu phpmyadmin