Install mysql and python via Macports The porters have done all the difficult work.
sudo port install py26-mysql
sudo port install mysql5-server
should install what you need. (see Stack overflow for comments re mysql server)
If you only need to connect to mysql and not run a server then the first line is sufficient.
Macports now (early 2013) will provide binary downloads for common combinations of OS a executable architecture, for others (and if you request it) it will build from source.
In general macports (or fink) help when there are complex libraries etc that need to be installed.
Python only code and if simple C dependencies can be set up via setuptools etc, but it begins to get complex if you mix the two.