jcadima
12/28/2015 - 10:54 PM

export XAMPP path to bash profile

export XAMPP path to bash profile

http://stackoverflow.com/questions/27011941/mac-osx-php-and-xampp-path-issue

export XAMPP_HOME=/Applications/XAMPP
export PATH=${XAMPP_HOME}/bin:${PATH}
export PATH


source path


make this alias to access mysql quicly:
alias db=cd /applications/xampp/bin;mysql -u root -p

the second part will prompt root user passwrd for mysql