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.