Had a bit of a snag installing MySQLdb tonight, which is required when installing Django.  I ran into the following error when trying to install the MySQLdb egg under Debian Lenny.

EnvironmentError: mysql_config not found
When trying to install MySQL-python

It was fixed by installing the libmysqlclient15-dev package and the installing the egg again:

 Bash |  copy |? 
sudo apt-get install libmysqlclient15-dev
easy_install MySQL_python-1.2.3c1-py2.5-linux-i686.egg

Package details here:

http://packages.debian.org/search?searchon=contents&keywords=mysql_config&mode=path&suite=stable&arch=any