title: Cannot connect to Mysql Socket
body: <p>I have an AWS server. I have mysql running and it connects just find to my RDS server, but I want a local mysql instance running. When I type mysql into the command prompt I get the following. </p>
  
  <blockquote>
    <p>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)</p>
  </blockquote>
  
  <p>my.conf is as follows</p>
  
  <pre><code>datadir=/var/lib/mysql
  #socket=/var/lib/mysql/mysql.sock
  socket=/tmp/mysql.sock
  user=mysql
  # Disabling symbolic-links is recommended to prevent assorted security risks
  symbolic-links=0
  </code></pre>
  
  <p>Running find mysql.sock does not return any results. </p>