MySQLdb (Python module) on OSX
Wednesday, March 25th, 2009I’m working on a database for our CoalHMM analysis results. Right now, I’m playing around with different database designs, so I want to play around with the database on my local machine rather than our shared server.
I used to just do this on Linux, but this is the first time I’m playing with MySQL on OS X.
Installing MySQL was pretty painless as you can download a binary package for it.
MySQLdb, the Python module I use to access the database, is a different matter, however. I couldn’t find any binary packages and the source distribution doesn’t compile out of the box.
Luckily, I am not the first to want to use MySQLdb on a Mac, and a bit of googling found this page.
Worked like a charm, so now I am back to hacking data base designs.
–
84-103=-19