title: Cannot start mysqld_safe to reset root password
body: <p>I installed MySQL and was playing around with the password settings trying to get Wordpress to connect to it. In doing so, I seem to have hashed my root password and now cannot login.</p>
  
  <p>I'm trying to reset the password by running</p>
  
  <pre><code>/etc/init.d/mysqld stop
  </code></pre>
  
  <p>Then</p>
  
  <pre><code>mysqld_safe --skip-grant-tables
  </code></pre>
  
  <p>Which outputs </p>
  
  <pre><code>Starting mysql daemon with databases from /var/lib/mysql
  </code></pre>
  
  <p>But then does nothing. It neither succeeds nor fails. I've not got any databases setup so I'd be happy to remove and reinstall mysql if necessary but I tried that to no avail. How can I get back in?</p>