2

After starting XAMPP on my Ubuntu 12.04.5 on KDE interface and trying to open phpmyadmin on the localhost I am getting this error:

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.

However I tried the suggestion in this link (How to Solve the XAMPP 1.7.7 - PHPMyAdmin - MySQL Error #2002 in Ubuntu) but I have no "mysql" file in the "init.d" folder. I hope this can be helpful.

Community
  • 1
  • 1
Naguib Ihab
  • 4,259
  • 7
  • 44
  • 80

1 Answers1

0
apt-get --reinstall install mysql-server

solved it.

Naguib Ihab
  • 4,259
  • 7
  • 44
  • 80
  • Glad you got it sorted out. You might consider marking your response as the accepted answer here so that others can quickly see that it's resolved. – Isaac Bennetch Feb 09 '15 at 19:44
  • @IsaacBennetch stackoverflow won't let me accept my own answer until 2 days after the answer was placed :) – Naguib Ihab Feb 10 '15 at 00:34