<?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: MySQL-python Windows 64bit and 32bit distributions</title>
	<atom:link href="http://www.codegood.com/archives/4/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codegood.com/archives/4</link>
	<description>In the beginning was the Code, and the Code was Good.</description>
	<lastBuildDate>Mon, 29 Aug 2011 10:10:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: yuxc</title>
		<link>http://www.codegood.com/archives/4/comment-page-2#comment-6370</link>
		<dc:creator>yuxc</dc:creator>
		<pubDate>Thu, 14 Apr 2011 08:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-6370</guid>
		<description>Thx very very much!I just want to give it up....</description>
		<content:encoded><![CDATA[<p>Thx very very much!I just want to give it up&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timm</title>
		<link>http://www.codegood.com/archives/4/comment-page-2#comment-5848</link>
		<dc:creator>Timm</dc:creator>
		<pubDate>Sun, 27 Mar 2011 05:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-5848</guid>
		<description>Amazing, a real timesaver!! THX a lot!</description>
		<content:encoded><![CDATA[<p>Amazing, a real timesaver!! THX a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kosei Kitahara</title>
		<link>http://www.codegood.com/archives/4/comment-page-2#comment-5077</link>
		<dc:creator>Kosei Kitahara</dc:creator>
		<pubDate>Sat, 26 Feb 2011 08:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-5077</guid>
		<description>Awesome! Thank you so much!</description>
		<content:encoded><![CDATA[<p>Awesome! Thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton</title>
		<link>http://www.codegood.com/archives/4/comment-page-2#comment-4260</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Sat, 15 Jan 2011 15:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-4260</guid>
		<description>Thank you man, I&#039;m sick already of mac/linux centric pythonistas, you&#039;ve made my day.</description>
		<content:encoded><![CDATA[<p>Thank you man, I&#8217;m sick already of mac/linux centric pythonistas, you&#8217;ve made my day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saber7</title>
		<link>http://www.codegood.com/archives/4/comment-page-2#comment-3795</link>
		<dc:creator>saber7</dc:creator>
		<pubDate>Tue, 14 Dec 2010 07:35:39 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-3795</guid>
		<description>nice job:D
thnx very much for this.</description>
		<content:encoded><![CDATA[<p>nice job:D<br />
thnx very much for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rinze</title>
		<link>http://www.codegood.com/archives/4/comment-page-2#comment-2812</link>
		<dc:creator>Rinze</dc:creator>
		<pubDate>Fri, 22 Oct 2010 09:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-2812</guid>
		<description>Got it resolved. The trick was to download Mysql C connector&#039;s source code and build that using Visual Studio 2003. The resulting mysqlclient.lib make the last linking errors go away.

All unit tests passed, except two, which were due to un-configured permissions.

The only difference now is that _mysql.pyd depends on ws2_32 instead of wsock32, but that shouldn&#039;t give any problems.
For anyone interested, the installer MySQL-python-1.2.3.win32-py2.5.exe can be found here: http://www.sendspace.com/file/yg0yol

Use at own risk though :)</description>
		<content:encoded><![CDATA[<p>Got it resolved. The trick was to download Mysql C connector&#8217;s source code and build that using Visual Studio 2003. The resulting mysqlclient.lib make the last linking errors go away.</p>
<p>All unit tests passed, except two, which were due to un-configured permissions.</p>
<p>The only difference now is that _mysql.pyd depends on ws2_32 instead of wsock32, but that shouldn&#8217;t give any problems.<br />
For anyone interested, the installer MySQL-python-1.2.3.win32-py2.5.exe can be found here: <a href="http://www.sendspace.com/file/yg0yol" rel="nofollow">http://www.sendspace.com/file/yg0yol</a></p>
<p>Use at own risk though <img src='http://www.codegood.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rinze</title>
		<link>http://www.codegood.com/archives/4/comment-page-2#comment-2804</link>
		<dc:creator>Rinze</dc:creator>
		<pubDate>Thu, 21 Oct 2010 20:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-2804</guid>
		<description>A little update about my post: where I wrote python24.dll, it should say python25.dll

Also, after writing I found your post on the x64 build you made of Mysql-python 1.2.2 for python2.5. It seems to have the same dependencies as my build, including the need for the dynamically linked libmysql.dll.

The weird thing is still that I also have a x32 build of Mysql-python 1.2.2 for python 2.5, which does not depend on an external libmysql.dll. I&#039;m going to try and get a hold of the guy who built that one.</description>
		<content:encoded><![CDATA[<p>A little update about my post: where I wrote python24.dll, it should say python25.dll</p>
<p>Also, after writing I found your post on the x64 build you made of Mysql-python 1.2.2 for python2.5. It seems to have the same dependencies as my build, including the need for the dynamically linked libmysql.dll.</p>
<p>The weird thing is still that I also have a x32 build of Mysql-python 1.2.2 for python 2.5, which does not depend on an external libmysql.dll. I&#8217;m going to try and get a hold of the guy who built that one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rinze</title>
		<link>http://www.codegood.com/archives/4/comment-page-1#comment-2793</link>
		<dc:creator>Rinze</dc:creator>
		<pubDate>Thu, 21 Oct 2010 11:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-2793</guid>
		<description>This might be a long shot, but maybe someone reading this can point me in the right direction.

I&#039;m trying to build Mysql-python 1.2.3 for Python 2.5 under Windows 7. I&#039;m using MS Visual C++ 2003 from the command line for this.

When I use &#039;setup.py bdist_wininst&#039;, the code compiles just fine but after that the linker fails with a bunch of &#039;unresolved external symbol&#039; errors. To resolve these errors I added (hard coded)  the &#039;zlib&#039;, &#039;msvcrt&#039;, &#039;libmysql&#039; libraries to Mysql-python&#039;s &#039;setup_windows.py&#039;, which already had &#039;kernel32&#039;, &#039;advapi32&#039;, &#039;wsock32&#039; and &#039;mysqlclient&#039; defined.

When I try to build now, I end up with a working installer.

However, the resulting _mysql.pyd is only 44Kb large (way smaller than others I&#039;ve seen from built packages) and it only works when it can find libmySQL.dll. Also, when I check _mysql.pyd&#039;s  dependencies, I see that they differ from others.

Mine depends on libmysql.dll, msvcr71.dll, python24.dll and kernels32.dll, while others typically depend on python25.dll, kernel32.dll, advapi32.dll and wsock32.dll.

So, somewhere along the line the dependencies get screwed up and I think that some code that needs to be included within the _mysql.pyd doesn&#039;t end up there (resulting in the smaller size and dependency of an external libmysql.dll)

Anyone got any ideas?</description>
		<content:encoded><![CDATA[<p>This might be a long shot, but maybe someone reading this can point me in the right direction.</p>
<p>I&#8217;m trying to build Mysql-python 1.2.3 for Python 2.5 under Windows 7. I&#8217;m using MS Visual C++ 2003 from the command line for this.</p>
<p>When I use &#8216;setup.py bdist_wininst&#8217;, the code compiles just fine but after that the linker fails with a bunch of &#8216;unresolved external symbol&#8217; errors. To resolve these errors I added (hard coded)  the &#8216;zlib&#8217;, &#8216;msvcrt&#8217;, &#8216;libmysql&#8217; libraries to Mysql-python&#8217;s &#8216;setup_windows.py&#8217;, which already had &#8216;kernel32&#8242;, &#8216;advapi32&#8242;, &#8216;wsock32&#8242; and &#8216;mysqlclient&#8217; defined.</p>
<p>When I try to build now, I end up with a working installer.</p>
<p>However, the resulting _mysql.pyd is only 44Kb large (way smaller than others I&#8217;ve seen from built packages) and it only works when it can find libmySQL.dll. Also, when I check _mysql.pyd&#8217;s  dependencies, I see that they differ from others.</p>
<p>Mine depends on libmysql.dll, msvcr71.dll, python24.dll and kernels32.dll, while others typically depend on python25.dll, kernel32.dll, advapi32.dll and wsock32.dll.</p>
<p>So, somewhere along the line the dependencies get screwed up and I think that some code that needs to be included within the _mysql.pyd doesn&#8217;t end up there (resulting in the smaller size and dependency of an external libmysql.dll)</p>
<p>Anyone got any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Govind Kelkar</title>
		<link>http://www.codegood.com/archives/4/comment-page-1#comment-1842</link>
		<dc:creator>Govind Kelkar</dc:creator>
		<pubDate>Fri, 03 Sep 2010 04:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-1842</guid>
		<description>Victor your blog did helped me in setting up MySQLdb for python 2.7. Though I do not know the content language of your blog but the keywords did helped a lot. 

Regards,
Govind</description>
		<content:encoded><![CDATA[<p>Victor your blog did helped me in setting up MySQLdb for python 2.7. Though I do not know the content language of your blog but the keywords did helped a lot. </p>
<p>Regards,<br />
Govind</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Microkernel</title>
		<link>http://www.codegood.com/archives/4/comment-page-1#comment-1540</link>
		<dc:creator>Microkernel</dc:creator>
		<pubDate>Thu, 12 Aug 2010 18:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://codegood.com/?p=4#comment-1540</guid>
		<description>Python 2.7?</description>
		<content:encoded><![CDATA[<p>Python 2.7?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

