title: mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
body: <p>I installed (on Ubuntu 13) MYSQL using </p>
  
  <p><code>sudo apt-get install mysql</code></p>
  
  <p>But after running </p>
  
  <p><code>mysql -u root -p</code></p>
  
  <p>and entering the password it gives the error</p>
  
  <blockquote>
    <p>ERROR 2002 (HY000): Can't connect to local MySQL server through socket
    '/var/run/mysqld/mysqld.sock' (2)</p>
  </blockquote>
  
  <p>Please guide...</p>