title: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in debian6
body: <p>Well, recently I tried to install <code>mysql_cluster</code> on debian6. At first it works well, but when I try to install <code>mysql_cluster</code> multiply, an error occurs saying, that I cannot login as root anymore. I was trying to modify the <code>pwd</code> of <code>root</code> with the command:</p>
  
  <pre><code>/usr/local/mysql/bin/mysqladmin -u root password '654321'
  </code></pre>
  
  <p>But it turned out with wrong info as:</p>
  
  <pre><code>/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
  error: 'Can't connect to local MySQL server through socket 
  '/var/run/mysqld/mysqld.sock' (2)'
  </code></pre>
  
  <p>I tried everything I can to solve this problem but failed. I was attemped to run the command:</p>
  
  <pre><code>find / -name *.sock -type s 
  </code></pre>
  
  <p>but I just cannot find the file <code>mysqld.socks</code> anywhere. As reference I had tried every method from <a href="https://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq">this article</a>.</p>
  
  <p>All the methods failed, that I've tried so far.</p>