title: Can not connect to MySQL Server by 127.0.0.1
body: <p>I'm using Ubuntu 12.04 32bit AND  MySQL Server 5.5.31</p>
  
  <p>I can connect to MySQL Server with following command successfully :</p>
  
  <pre><code>$ mysql -u root -p -h localhost
  </code></pre>
  
  <p>But when i'm using <code>127.0.0.1</code> instead <code>localhost</code> can not connect :</p>
  
  <pre><code>$ mysql -u root -p -h 127.0.0.1
  </code></pre>
  
  <p>The error is :</p>
  
  <pre><code>ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
  </code></pre>
  
  <p>Any ideas would be awesome.</p>