title: uninstall mysql from mac not working
body: <p>I have done these steps: </p>
  
  <pre><code>sudo rm /usr/local/mysql
  sudo rm -rf /usr/local/mysql*
  sudo rm -rf /Library/StartupItems/MySQLCOM
  sudo rm -rf /Library/PreferencePanes/MySQL*
  vim /etc/hostconfig and removed the line MYSQLCOM=-YES-
  rm -rf ~/Library/PreferencePanes/MySQL*
  sudo rm -rf /Library/Receipts/mysql*
  sudo rm -rf /Library/Receipts/MySQL*
  </code></pre>
  
  <p>and </p>
  
  <pre><code>sudo rm -rf /var/db/receipts/com.mysql.*
  </code></pre>
  
  <p>But, now when I try to execute the command 'brew install mysql' is tells me 'mysql-5.6.10 already installed'</p>
  
  <p>Anyone know the problem?</p>
  
  <p>**</p>
  
  <p>EDIT</p>
  
  <p>**</p>
  
  <p>Don't know if this will help diagnosing the problem, but...</p>
  
  <p>What I'm trying to do is a fresh install with mysql_secure_installation. I could not log in to mysql with -uroot --password because it told me access was denied. After uninstalling using 'brew uninstall mysql' and then reinstallling with 'brew install mysql' I ran the mysql_secure_installation command. In the first step, where I'm supposed to enter the root password (press enter if there is no password) I pressed enter with a blank line and it told me access denied again.</p>