title: How to install MySQLdb (Python data access library to MySQL) on Mac OS X?
body: <p>I'm a Python newbie, but I've just spent a day working out how to get MySQLdb working properly, and the universe according to google includes numerous references to what a PITA it is, and an inordinate number of guides that seem to be outdated.  Given that this site is intended to address these sorts of problems, and I know that I'm going to need a reference to the solution in future, I'm going to ask the question, provide my answer and see what else floats to the surface.</p>
  
  <p>So the question is how to get <a href="http://sourceforge.net/projects/mysql-python/files/" rel="noreferrer">MySQLdb</a> working on Mac OS X?</p>