Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install mysql. Big Internet told me that I should do it via MacPorts. I've downloaded MacPort's dmg and it asks me to install XCode which I can buy via App Store. It is ridiculous to pay money to install free app (I mean MySQL) :).

So what can I do now?

PS I am new on mac after few years on CentOS/Ubuntu so I am familiar with the use of package managers such as yum or apt or installing via sources. It will be good to know about gcc, make and other stuff on mac

share|improve this question
If you pay money for it it's hardly free, right? They obviously switched to a paid model with version 4, either via 100$ developer accounts or App Store. – Daniel Beck Mar 23 '11 at 9:51
I don't need any of mac developer tools. I need just mysql :) mysql is free – fl00r Mar 23 '11 at 9:53
You need the dev tools if you want to compile from source, which is what you attempt to do with Macports. – Daniel Beck Mar 23 '11 at 9:57
unix dev tools ussualy wight less then 4GB distro – fl00r Mar 23 '11 at 10:03
You could have just installed the dev tools that come with your Mac. Same size, no download. But no compiler without the IDE. It's a whole package. There's no "headless" OS X either, even if that's enough for a server. – Daniel Beck Mar 23 '11 at 10:10
up vote 2 down vote accepted

You can go to, sign up for the free developer account, and download the XCode 3 version that is still offered. This is enough to do Macports and other open source stuff (you get gcc and all the header files you need).

share|improve this answer
thanx going to check it – fl00r Mar 23 '11 at 9:50
I need to download 4 Gigabytes of useles stuff to install mysql? WTF – fl00r Mar 23 '11 at 9:52
yep, it's a lot of stuff. But eh, you've got a nice IDE as well (and all the iPhone stuff, like the simulator) I don't recall if there's an advanced install that disallows iPhone stuff, e.g. – Henno Mar 23 '11 at 9:56
Actually I don't need all this stuff. I've got TextMate and now I need MySQL and it looks crazy downloading this monster ). Thanks anyway – fl00r Mar 23 '11 at 9:58

Download MySQL from the official web site. Instructions.

share|improve this answer
Looks like a good solution :) downloading – fl00r Mar 23 '11 at 10:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .