title: MySQL - ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
body: <p>I installed mysql-5.1.63-osx10.6-x86_64 onto my Mac (OS X 10.7) - initially I managed to get MySql running and could create a new database.  I had problems with root passwords and fiddled around with various files (can't trace back my changes now) having picked up tips on various sites.  I then uninstalled and reinstalled MySql and now I can't get it to run.  I continually get ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).  There is no /tmp/mysql.sock file.</p>
  
  <p>Does anyone have any suggestions?
  Also is there a good source of reading so that I can learn how all the relevent parts of MySql work together so that I can really understand the installation?</p>
  
  <p>I would be very grateful for any help and I am sure that more information will be needed to solve this so ask any questions needed!</p>
  
  <p>THANK YOU :))))))</p>