Things You Don’t Want To Do

So, you have to compile mysql to make sure that a crash has been fixed, otherwise you’re going to end up filing a bug… and we all know how much hassle that can be! Unfortunately you need a 64bit build (x86_64) on OS X… and you’ve never built mysql before.

This is what you need:

CFLAGS='-O3 -fno-common -arch x86_64' \
LDFLAGS='-O3 -arch x86_64' \
CXXFLAGS='-O3 -fno-common -arch x86_64' \
./configure -with-plugins=innobase
$ make
$ sudo make install
After that it’s all nice and easy. Up until then… not so much.