<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to install Django with MySQL on Mac OS X</title>
	<atom:link href="http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/</link>
	<description>Meditations on programming, startups, and technology</description>
	<lastBuildDate>Thu, 10 May 2012 04:53:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Sushil</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-25133</link>
		<dc:creator>Sushil</dc:creator>
		<pubDate>Tue, 30 Aug 2011 16:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-25133</guid>
		<description>Hey i got it working! 
Changed the Python in to 32 bit version: 
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
defaults write com.apple.versioner.python Prefer-32-Bit -bool no

Installed developer package for XAMPP.</description>
		<content:encoded><![CDATA[<p>Hey i got it working!<br />
Changed the Python in to 32 bit version:<br />
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes<br />
defaults write com.apple.versioner.python Prefer-32-Bit -bool no</p>
<p>Installed developer package for XAMPP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sushil</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-25131</link>
		<dc:creator>Sushil</dc:creator>
		<pubDate>Tue, 30 Aug 2011 15:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-25131</guid>
		<description>Hi Brandon! I am getting the same error. &#039;gcc failed with exit status&#039;. I am using XAMPP on my Mac OSX. Please let me know how did you solve the problem? 
Thanks,
Sushil
email: sushtaurus@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi Brandon! I am getting the same error. &#8216;gcc failed with exit status&#8217;. I am using XAMPP on my Mac OSX. Please let me know how did you solve the problem?<br />
Thanks,<br />
Sushil<br />
email: <a href="mailto:sushtaurus@gmail.com">sushtaurus@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-8674</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sun, 21 Feb 2010 17:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-8674</guid>
		<description>If you&#039;re having trouble getting it installed the new version of mysql-python requires some different instructions, also if you&#039;re using 64 or 32 bit versions of python or mysql will make a difference. There&#039;s some information here: 

&lt;a href=&quot;http://learninglamp.wordpress.com/2010/02/21/mysqldb-python-mysql-and-os-x-a-match-made-in-satans-bum/&quot; rel=&quot;nofollow&quot;&gt;http://learninglamp.wordpress.com/2010/02/21/mysqldb-python-mysql-and-os-x-a-match-made-in-satans-bum/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>If you&#8217;re having trouble getting it installed the new version of mysql-python requires some different instructions, also if you&#8217;re using 64 or 32 bit versions of python or mysql will make a difference. There&#8217;s some information here: </p>
<p><a href="http://learninglamp.wordpress.com/2010/02/21/mysqldb-python-mysql-and-os-x-a-match-made-in-satans-bum/" rel="nofollow">http://learninglamp.wordpress.com/2010/02/21/mysqldb-python-mysql-and-os-x-a-match-made-in-satans-bum/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel S</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-6424</link>
		<dc:creator>Daniel S</dc:creator>
		<pubDate>Thu, 18 Jun 2009 12:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-6424</guid>
		<description>There is a Django one click installer available!
Check out Bitnami.org (only django + MySQL at the moment, but PostgreSQL is in the works to)</description>
		<content:encoded><![CDATA[<p>There is a Django one click installer available!<br />
Check out Bitnami.org (only django + MySQL at the moment, but PostgreSQL is in the works to)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mika</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5920</link>
		<dc:creator>mika</dc:creator>
		<pubDate>Sat, 04 Apr 2009 11:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5920</guid>
		<description>NOT funny: you have to install dev tools!! So going django with mySQL requires dev tools???? What is this?? AND - WHY is there just not an gui installer that does all the above crap?</description>
		<content:encoded><![CDATA[<p>NOT funny: you have to install dev tools!! So going django with mySQL requires dev tools???? What is this?? AND &#8211; WHY is there just not an gui installer that does all the above crap?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl G</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5694</link>
		<dc:creator>Carl G</dc:creator>
		<pubDate>Mon, 09 Mar 2009 17:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5694</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Programando em Django no seu Sistema Operacional favorito &#124; Profissionais TI</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5595</link>
		<dc:creator>Programando em Django no seu Sistema Operacional favorito &#124; Profissionais TI</dc:creator>
		<pubDate>Mon, 23 Feb 2009 16:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5595</guid>
		<description>[...] Zen and the Art of Programming - How to install Django with MySQL on Mac OS X: http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Zen and the Art of Programming &#8211; How to install Django with MySQL on Mac OS X: <a href="http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/" rel="nofollow">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to finally fix that damned MySQLdb module on Leopard &#171; Nerd Stuff</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5301</link>
		<dc:creator>How to finally fix that damned MySQLdb module on Leopard &#171; Nerd Stuff</dc:creator>
		<pubDate>Sun, 18 Jan 2009 10:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5301</guid>
		<description>[...] Antonio Cangiano - How to install Django with MySQLdb on MacOSx [...]</description>
		<content:encoded><![CDATA[<p>[...] Antonio Cangiano &#8211; How to install Django with MySQLdb on MacOSx [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scrapmaster</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5213</link>
		<dc:creator>scrapmaster</dc:creator>
		<pubDate>Mon, 05 Jan 2009 00:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5213</guid>
		<description>Thank you, sir, thank you, thank you. Sometimes I just love the internet.</description>
		<content:encoded><![CDATA[<p>Thank you, sir, thank you, thank you. Sometimes I just love the internet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikita</title>
		<link>http://programmingzen.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5188</link>
		<dc:creator>Nikita</dc:creator>
		<pubDate>Sat, 03 Jan 2009 16:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/2007/12/22/how-to-install-django-with-mysql-on-mac-os-x/#comment-5188</guid>
		<description>&lt;pre&gt;
Build _mysql on MacOSX Leopard with MacPorts 1.700.

0. 
install macports (http://macports.org) packages &#039;mysql5&#039;, &#039;python26&#039;, &#039;python_select&#039;
&gt; sudo /opt/local/bin/port -v install mysql5
&gt; sudo /opt/local/bin/port -v install python26
&gt; sudo /opt/local/bin/port -v install python_select

activate python2.6 from macports using python_select
&gt; python_select python26

1. install new setup tools
Download &#039;setuptools-0.6c9-py2.6.egg&#039; from http://pypi.python.org/pypi/setuptools/, then
&gt; sh setuptools-0.6c9-py2.6.egg

2. (*optional) add symlink
sudo ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/easy_install-2.6 /opt/local/bin/easy_install-2.6

3. download MySQL-python-1.2.2.tar.gz and extends
&gt; tar xvfz MySQL-python-1.2.2.tar.gz

4.
&gt; cd MySQL-python-1.2.2

5. edit the _mysql.c file and comment out lines 37, 38 and 39:
===
//#ifndef uint
//#define uint unsigned int
//#endif
===

6. edit site.cfg: uncomment and change mysql_config to:
===
mysql_config = /opt/local/bin/mysql_config5
===

7. build
&gt; python setup.py build
&gt; sudo python setup.py install
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre>
Build _mysql on MacOSX Leopard with MacPorts 1.700.

0.
install macports (<a href="http://macports.org" rel="nofollow">http://macports.org</a>) packages 'mysql5', 'python26', 'python_select'
&gt; sudo /opt/local/bin/port -v install mysql5
&gt; sudo /opt/local/bin/port -v install python26
&gt; sudo /opt/local/bin/port -v install python_select

activate python2.6 from macports using python_select
&gt; python_select python26

1. install new setup tools
Download 'setuptools-0.6c9-py2.6.egg' from <a href="http://pypi.python.org/pypi/setuptools/" rel="nofollow">http://pypi.python.org/pypi/setuptools/</a>, then
&gt; sh setuptools-0.6c9-py2.6.egg

2. (*optional) add symlink
sudo ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/easy_install-2.6 /opt/local/bin/easy_install-2.6

3. download MySQL-python-1.2.2.tar.gz and extends
&gt; tar xvfz MySQL-python-1.2.2.tar.gz

4.
&gt; cd MySQL-python-1.2.2

5. edit the _mysql.c file and comment out lines 37, 38 and 39:
===
//#ifndef uint
//#define uint unsigned int
//#endif
===

6. edit site.cfg: uncomment and change mysql_config to:
===
mysql_config = /opt/local/bin/mysql_config5
===

7. build
&gt; python setup.py build
&gt; sudo python setup.py install
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.328 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-17 01:07:25 -->
<!-- Compression = gzip -->
