Installing MySQL on MacOS

1

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

fl00r

Posted 2011-03-23T09:40:42.037

Reputation: 195

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 – 2011-03-23T09:51:32.920

I don't need any of mac developer tools. I need just mysql :) mysql is free – fl00r – 2011-03-23T09:53:20.113

1You need the dev tools if you want to compile from source, which is what you attempt to do with Macports. – Daniel Beck – 2011-03-23T09:57:47.483

unix dev tools ussualy wight less then 4GB distro – fl00r – 2011-03-23T10:03:00.353

1You 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 – 2011-03-23T10:10:00.150

Answers

2

You can go to developer.apple.com, 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).

Henno

Posted 2011-03-23T09:40:42.037

Reputation: 639

thanx going to check it – fl00r – 2011-03-23T09:50:42.027

I need to download 4 Gigabytes of useles stuff to install mysql? WTF – fl00r – 2011-03-23T09:52:21.330

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 – 2011-03-23T09:56:37.037

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 – 2011-03-23T09:58:48.670

So it seems like there is a customize option, going from that linked answer. Good. (I have all the stuff installed anyway, but I had enough space at the time). – Henno – 2011-03-23T10:31:05.643

space is not a problem at all :) – fl00r – 2011-03-23T10:37:08.450

2

Download MySQL from the official web site. Instructions.

Daniel Beck

Posted 2011-03-23T09:40:42.037

Reputation: 98 421

Looks like a good solution :) downloading – fl00r – 2011-03-23T10:01:25.457