Saturday, September 1, 2012

Missing mysql_config for MySQL-Django

If you want to use MySQL with django on Ubuntu/Mint, you have to
sudo apt-get install mysql-server libmysqlclient-dev
sudo pip install MySQL-python

libmysqlclient-dev ensures you have mysql_config executable. Otherwise MySQL-python connector won't be installed.

No comments: