1

I have installed XAMPP, when I'm trying to open mysql by sudo mysql -u root -p, i am getting the below error:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).

CuriousBeing
  • 1,592
  • 14
  • 34
  • try this http://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq – safin chacko Feb 23 '16 at 05:34
  • I hope it will helpful for you http://stackoverflow.com/questions/11657829/error-2002-hy000-cant-connect-to-local-mysql-server-through-socket-var-run – Ayaz Ali Shah Feb 23 '16 at 05:34

0 Answers0