Arather basic and rather stupid MySQL question ...

Hey Simon, fret not!

First, there's the instructions from MySQL:

http://dev.mysql.com/doc/refman/5.0/en/mac-os-x-installation.html

Second, if you can't get that running properly there is an article at Apple on building from source (although that makes keeping the system current a little more difficult for non-unix types):

http://developer.apple.com/internet/opensource/osdb.html

Even harder than that, will be the magic, top-secret voodoo required to get ruby-mysql installed on OS X, to which I have yet to accomplish.

Being a PostgreSQL homer means I just did everything in PostgreSQL, but I will eventually need to have access to MySQL from Ruby. Anyone else out there know the trick to get ruby-mysql to build with the stock MySQL dmg provided by MySQL.com?

-- Mitch

Quoting Mitch Pirtle <mitch@spacemonkeylabs.com>, who spaketh thusly:

Anyone else out there know the trick to get ruby-mysql to build with the stock MySQL dmg provided by MySQL.com?

I just tried the following line:

sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

...from the Hivelogic narrative:

...and it worked. I must have had something stale lying around when I tried earlier, hrm.

-- Mitch