title: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
body: <p>I am getting the following error when I try to connect to mysql: </p>
  
  <p><code>Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)</code></p>
  
  <p>Is there a solution for this error? What might be the reason behind it?</p>