MySQL Mac and Python

I used MySQL dmg file to install MySQl and then the installation of python-mysqldb started failing. This is beacuse mac installation of mysql puts the config file in a non standard folder. Two ways to go about it. Either install mysql from source or use the tip on: