zsh: command not found: mysql : <p>Trying to use MySQL for rails app and downloaded it from dev.mysql.com.</p>

<p>After successfully installing the package and seeing the option to start and stop the server from Preference Pane, if I go ahead and execute following command in my terminal</p>

<pre><code>mysql --version
</code></pre>

<p>I end up with error as -</p>

<pre><code>zsh: command not found: mysql
</code></pre>

<p>I've been looking for this error and understand that this has something to do with my <code>$PATH</code> variable and if display the value by <code>echo $PATH</code> I get following output - </p>

<pre><code>/Library/Frameworks/Python.framework/Versions/3.4/bin:/Users/aniruddhabarapatre1/.rvm/gems/ruby-2.2.1/bin:/Users/aniruddhabarapatre1/.rvm/gems/ruby-2.2.1@global/bin:/Users/aniruddhabarapatre1/.rvm/rubies/ruby-2.2.1/bin:/usr/local/bin:/Users/aniruddhabarapatre1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/opt/ImageMagick/bin:/usr/local/MacGPG2/bin:/Users/aniruddhabarapatre1/.rvm/bin
</code></pre>

<p>How do I resolve this error to get Mysql up and running.</p>
