MySQL Error Nr. 2002 Can't connect

December 3, 2010


After installing, or at least was what it thought i did, mySql and configure mySql Admin i received the following error message :

MySQL Error Nr. 2002 Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

The solution was simple, the fact was that i only installed mySql client and so just went to synaptic and installed the mySql Server package.