title: Unable to access MySQL after it automatically generated a temporary password
body: <p>I have erased and installed <code>OSX 10.11 El Capitan</code> and I have been following through <a href="http://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-osx-10-11-el-capitan/">this tutorial</a> to get <code>MySQL</code> up and running on the new OS X. The first step was to download <a href="http://dev.mysql.com/downloads/mysql/">MySQL For Mac OS X 10.9 (x86, 64-bit), DMG Archive</a> (works on 10.11, they recommended in the tutorial). While I were finishing installing the MySQL, I got the message saying that :</p>
  
  <pre><code>2015-10-25T02:10:54.549219Z 1 [Note] A temporary password is generated for root@localhost: R&gt;gFySuiu23U
  
  If you lose this password, please consult the section How to Reset the Root Password in the MySQL reference manual.
  </code></pre>
  
  <p>That was weird, I have never seen that kind of message. After that, I started MySQL via the Preference Pane and then use <code>/usr/local/mysql/bin/mysql -v</code> command on the terminal for another step. I got an error message saying that : </p>
  
  <p><code>ERROR 1045 (28000): Access denied for user 'cheetah'@'localhost' (using password: NO)</code></p>
  
  <p>I have also tried to access database through <code>Sequel Pro</code> using root as username and blank password, I got access denied message saying that : </p>
  
  <pre><code>Unable to connect to host 127.0.0.1 because access was denied.
  
  Double-check your username and password and ensure that access from your current location is permitted.
  
  MySQL said: Access denied for user 'root'@'localhost' (using password: NO)
  </code></pre>
  
  <p>Okay, I also tried this again using root as a username but 'R>gFySuiu23U'  as a password (which was generated from MySQL). I got connection failed message saying that :</p>
  
  <pre><code>Unable to connect to host 127.0.0.1, or the request timed out.
  
  Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).
  
  MySQL said: Your password has expired. To log in you must change it using a client that supports expired passwords.
  </code></pre>
  
  <p>How could I solve this problem? I remember that MySQL has never got automatically generated a temporary password like this, hasn't it ?</p>