且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在OSX 10.6中将MySQLdb与Python和Django一起使用?

更新时间:2023-09-14 14:18:28

此问题是由于MySQL for Python适配器安装不完整/错误导致的.具体来说,我必须编辑mysql_config文件的路径以指向/usr/local/mysql/bin/mysql_config-在本文中进行了详细讨论:

This issue was the result of an incomplete / incorrect installation of the MySQL for Python adapter. Specifically, I had to edit the path to the mysql_config file to point to /usr/local/mysql/bin/mysql_config - discussed in greater detail in this article: http://dakrauth.com/blog/entry/python-and-django-setup-mac-os-x-leopard/