I have had numerous headaches trying to get the MySQL APIs for Perl and Python working on my 64 bit Macbook Pro (Leopard). I installed the 64 bit version of MySQL, but Googling around now I have the impression that this could be the source of my pain. None of the various blogs and SO answers quite seem to work (for example here on SO)
Could the 64 bit MySQL install be the culprit? Can anyone confirm that they have MySQL access via Perl and/or Python on a 64 bit Mac using 64 bit MySQL? Did you do anything special or face some similar problems?