title: mysql command does not execute mysql
body: <p>The path to my bin folder with mysql: </p>
  
  <blockquote>
    <p>usr/local/mysql/bin</p>
  </blockquote>
  
  <p>Here is my zshrc bash config:</p>
  
  <pre><code>export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin:/Users/leon/bin/subl"
  export PATH="/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH"
  </code></pre>
  
  <p>When I type <code>mysql</code> I get the following</p>
  
  <p><a href="https://i.stack.imgur.com/yqZXZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yqZXZ.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>Commands run:</p>
  
  <pre><code>echo $PATH
  /Users/leongaban/.nvm/versions/node/v5.8.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  
  which mysql
  mysql not found
  
  mysql --help
  zsh: command not found: mysql
  
  sudo find / -name mysql
  Password:
  /Applications/MySQLWorkbench.app/Contents/MacOS/mysql
  
  ps -ef | grep mysql
     74    96     1   0 11:18AM ??         0:02.90 /usr/local/mysql/bin/mysqld --user=_mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --log-error=/usr/local/mysql/data/mysqld.local.err --pid-file=/usr/local/mysql/data/mysqld.local.pid --port=3307
    501 16302  9174   0  1:27PM ttys001    0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn mysql
  </code></pre>