Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

How to install MySQL server on Mac (OS X 10.6.8) from command line? If I donwload the .dmg file, is it possible to install it from command line?

share|improve this question

2 Answers 2

I would recommend going by the way of ports:

sudo port install mysql5
sudo port activate mysql5

Even simpler is the MAMP way, but the MAMP distribution is usually behind the macport one.

share|improve this answer
    
Unfortunately, I don't need the latest version 5.1. I downloaded tar.gz file for 5.0 and would like to install that. –  qazwsx Mar 4 '12 at 23:41
    
Did you follow Installing MySQL on Mac OS X? –  Remus Rusanu Mar 5 '12 at 4:10

If you have homebrew installed, then :

brew install mysql

Else install homebrew it might be useful also to install other projects

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.