Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.
MySQL said:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)