2015-02-08 92 views
1

KDE界面上我的Ubuntu 12.04.5啓動XAMPP,並試圖打開我得到這個錯誤的本地主機的phpmyadmin後:錯誤#2002在localhost/phpmyadmin。在Ubuntu中使用XAMPP

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.

但是我試着在this linkHow to Solve the XAMPP 1.7.7 - PHPMyAdmin - MySQL Error #2002 in Ubuntu)的建議,但我在「init.d」文件夾中沒有「mysql」文件。我希望這會有所幫助。

回答

0
apt-get --reinstall install mysql-server 

解決了它。

+0

很高興你把它整理出來。您可以考慮將您的回覆標記爲公認的答案,以便其他人可以快速查看它已得到解決。 – 2015-02-09 19:44:46

+0

@IsaacBennetch stackoverflow不會讓我接受我自己的答案,直到答案放置後2天:) – 2015-02-10 00:34:50