title: MySQL socket missing
body: <p>I bought a VPS server(Ubuntu operating system). I installed mysql-server and phpmyadmin. It works well, but now when I try access phpMyAdmin page I got this message: </p>
  
  <pre><code>#2002 No such file or directory &lt;br /&gt; The server is not responding (or the local server's socket is not correctly configured).
  </code></pre>
  
  <p>And in putty this error:</p>
  
  <pre><code>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
  </code></pre>
  
  <p>How to restore missing socket?</p>