Unfimiliar error to me, but I found this on the MySQL Website:

The error (2002) Can't connect to ... normally means that there isn't a MySQL server running on the system or that you are using a wrong socket file or TCP/IP port when trying to connect to the mysqld server.
Hope that helps.

Cheers