you can either add / Applications / MAMP / Library / bin / to your bash PATH variable (edit your .bash_profile, find the line with
export PATH = ...
and add the path to the bin MAMP folder here), or create an alias with
alias mysql = '/ Applications /.../ bin / mysql'
(also in your .bash_profile).
matei
source share