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?
asked Mar 4, 2012 at 21:22
2 Answers 2
If you have homebrew installed, then :
brew install mysql
Else install homebrew it might be useful also to install other projects
answered Mar 4, 2012 at 21:32
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.
answered Mar 4, 2012 at 21:38
-
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– qazwsx2012年03月04日 23:41:24 +00:00Commented Mar 4, 2012 at 23:41
-
Did you follow Installing MySQL on Mac OS X?Remus Rusanu– Remus Rusanu2012年03月05日 04:10:30 +00:00Commented Mar 5, 2012 at 4:10
lang-sql