title: Can't connect to mysql on OS X
body: <p>I have installed <code>mysql</code> with Homebrew and I just can't access it.</p>
  
  <p>When I run <code>mysql -uroot</code>, it says, I can't access. So I though maybe there was a password set. So I deleted <code>/usr/local/var/mysql</code> and ran <code>mysqld --initialize</code>. This output, besides other things: </p>
  
  <pre><code>A temporary password is generated for root@localhost: randomPassword
  </code></pre>
  
  <p>So I tried <code>mysql -uroot -p'randomPassword'. But this still doesn't work. What is my password? I may have installed</code>mysql` with Homebrew before that, but I can't imagine that the old password is still saved somewhere.</p>