title: MySQL installation error
body: <p>I have been going back and forth with this issue. Apparently there is an installation of mysql installed by default on mac(?) and its conflicting with my homebrew installation of mysql. </p>
  
  <p>I have uninstalled and reinstalled per the following link:</p>
  
  <p><a href="https://stackoverflow.com/questions/4359131/brew-install-mysql-on-mac-os">brew install mysql on mac os</a></p>
  
  <p>Problem is that I get this error:</p>
  
  <pre><code>ERROR: can't create .my.cnf.42561: Permission denied at /usr/local/bin/mysql_secure_installation line 105.
  Cleaning up...
  Warning: Could not unlink .my.cnf.42561: No such file or directory
  Warning: Could not unlink .mysql.42561: No such file or directory
  </code></pre>
  
  <p>So of course I try and find that file via locate my.cnf and all I get is this:</p>
  
  <pre><code>/usr/local/Cellar/mysql/5.6.25/mysql-test/include/default_my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/federated/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/ndb/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/ndb_big/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/ndb_binlog/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/ndb_rpl/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/ndb_team/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/rpl/extension/bhs/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/rpl/my.cnf
  /usr/local/Cellar/mysql/5.6.25/mysql-test/suite/rpl_ndb/my.cnf
  /usr/local/lib/ruby/gems/2.2.0/gems/mysql2-0.3.18/spec/my.cnf.example
  </code></pre>
  
  <p>And in the brew install of mysql I got this error:</p>
  
  <pre><code>A "/etc/my.cnf" from another install may interfere with a Homebrew-built
  server starting up correctly.
  </code></pre>
  
  <p>/etc/my.cnf does not exist....really confused on this one. </p>
  
  <p>Any help?</p>