Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just installed MAMP 2.2 and use OSX Mountain Lion and am having trouble connecting to MySQL via the Terminal prompt;

iMac:~ Home$ mysql -u root -p root
 -bash: mysql: command not found 


iMac:~ Liam$ sudo mysql -u root -p root
sudo: mysql: command not found


iMac:~ Home$ echo $PATH

How do I fix this so I can use mysql> prompts in Terminal?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.