在KDE界面上的Ubuntu 12.04.5上启动XAMPP并尝试在localhost上打开phpmyadmin后,我收到此错误:
2002 - 没有这样的文件或目录服务器没有响应(或者没有正确配置本地服务器的套接字)。
连接 配置中定义的controluser失败。
但是我尝试了this link(How to Solve the XAMPP 1.7.7 - PHPMyAdmin - MySQL Error #2002 in Ubuntu)中的建议,但我没有" mysql"文件在" init.d"夹。我希望这会有所帮助。
答案 0 :(得分:0)
apt-get --reinstall install mysql-server
解决了它。