title: brew install mysql on mac os el capitan
body: <p>I'm trying to install mysql on MAC OS version 10.11.2 by following the methods in <a href="https://coderwall.com/p/os6woq/uninstall-all-those-broken-versions-of-mysql-and-re-install-it-with-brew-on-mac-mavericks" rel="nofollow noreferrer">this link</a>,</p>
  
  <p>The following command has been successfully executed,</p>
  
  <pre><code>brew install mysql
  </code></pre>
  
  <p>but when I type the following command,</p>
  
  <pre><code>mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>mysql_install_db: [ERROR] unknown variable 'tmpdir=/tmp'
  2015-12-17 17:35:54 [ERROR]   Unrecognized options
  </code></pre>
  
  <p>Please help. Thanks in advance.</p>