<?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: Connecting to MS SQL Server from Python on Mac OS X Leopard</title>
	<atom:link href="http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 12 Feb 2010 17:10:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 2kan</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-71</link>
		<dc:creator>2kan</dc:creator>
		<pubDate>Thu, 21 Jan 2010 21:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-71</guid>
		<description>&lt;p&gt;@Ed Singleton&lt;/p&gt;

&lt;p&gt;I&#039;ve just finished this project and switched back to web-development where i love RoR more then other frameworks. Also i like Rails &amp; Ruby syntax more then Python. Ruby sugar makes program clean and readable, IMHO.&lt;/p&gt;

&lt;p&gt;For most tasks Python and Ruby are similar except embedding of course. And threads %) And unicode (i wanna kill Ruby 1.9 developers and gonna use patch to force utf-8 everywhere it is possible).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Ed Singleton</p>

<p>I&#8217;ve just finished this project and switched back to web-development where i love RoR more then other frameworks. Also i like Rails &amp; Ruby syntax more then Python. Ruby sugar makes program clean and readable, IMHO.</p>

<p>For most tasks Python and Ruby are similar except embedding of course. And threads %) And unicode (i wanna kill Ruby 1.9 developers and gonna use patch to force utf-8 everywhere it is possible).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Singleton</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-70</link>
		<dc:creator>Ed Singleton</dc:creator>
		<pubDate>Thu, 21 Jan 2010 16:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-70</guid>
		<description>&lt;p&gt;@2kan&lt;/p&gt;

&lt;p&gt;I found Linux easier to get working than Mac, so a Debian VM on your workstation is a workable idea.  Particularly if it is a headless machine, and you ssh in.&lt;/p&gt;

&lt;p&gt;And certainly moving to Postgres from MSSQL is vastly preferable to continuing to work with MSSQL.  You&#039;re much luckier than me.  I have to continue to work with legacy systems that are out of my control.&lt;/p&gt;

&lt;p&gt;Out of interest, did you find Ruby easier than Python for this stuff, or did you only use Python for the transition?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@2kan</p>

<p>I found Linux easier to get working than Mac, so a Debian VM on your workstation is a workable idea.  Particularly if it is a headless machine, and you ssh in.</p>

<p>And certainly moving to Postgres from MSSQL is vastly preferable to continuing to work with MSSQL.  You&#8217;re much luckier than me.  I have to continue to work with legacy systems that are out of my control.</p>

<p>Out of interest, did you find Ruby easier than Python for this stuff, or did you only use Python for the transition?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 2kan</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-69</link>
		<dc:creator>2kan</dc:creator>
		<pubDate>Thu, 21 Jan 2010 15:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-69</guid>
		<description>&lt;p&gt;2 jeff
I haven&#039;t reached success in connecting to MSSQL form SQLAlchemy from my mac. So I just created VS on my local linux office server where i easily setuped the environment. I had а task to migrate from MSSQL to Postgres so  i&#039;ve done the job on the server and continued developing on my mac %)&lt;/p&gt;

&lt;p&gt;And right now i switched back to ruby from python %)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>2 jeff
I haven&#8217;t reached success in connecting to MSSQL form SQLAlchemy from my mac. So I just created VS on my local linux office server where i easily setuped the environment. I had а task to migrate from MSSQL to Postgres so  i&#8217;ve done the job on the server and continued developing on my mac %)</p>

<p>And right now i switched back to ruby from python %)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Singleton</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-68</link>
		<dc:creator>Ed Singleton</dc:creator>
		<pubDate>Thu, 21 Jan 2010 11:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-68</guid>
		<description>&lt;p&gt;As I said above, it turns out that you do want to allow pyodbc to use iodbc.  This process appears to configure both of them (or at least they both read their config from the same place).&lt;/p&gt;

&lt;p&gt;Does &lt;code&gt;isql my_dsn username password&lt;/code&gt; work for you?  If not, your config is wrong.  If it does work, then I&#039;m a bit stumped.  I&#039;ve only had one oppurtunity to get it working so far, and haven&#039;t been able to test my assumptions.&lt;/p&gt;

&lt;p&gt;If you do get it working, please let me know what you did.  (And if you get really stumped, feel free to email me, singletoned@gmail.com)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>As I said above, it turns out that you do want to allow pyodbc to use iodbc.  This process appears to configure both of them (or at least they both read their config from the same place).</p>

<p>Does <code>isql my_dsn username password</code> work for you?  If not, your config is wrong.  If it does work, then I&#8217;m a bit stumped.  I&#8217;ve only had one oppurtunity to get it working so far, and haven&#8217;t been able to test my assumptions.</p>

<p>If you do get it working, please let me know what you did.  (And if you get really stumped, feel free to email me, <a href="mailto:singletoned@gmail.com">singletoned@gmail.com</a>)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jeff</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-67</link>
		<dc:creator>jeff</dc:creator>
		<pubDate>Thu, 21 Jan 2010 10:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-67</guid>
		<description>&lt;p&gt;thanks for you article,I almost make it work on my mac! the isql works fine now,but i have the same problem as Timothy&#039;s. When try to get data from mssql server from SQLAlchemy:
DBAPIError: (Error) (’IM002′, ‘[IM002] [iODBC][Driver Manager]Data source name not found and no default driver specified.&lt;/p&gt;

&lt;p&gt;I try to add
 [Default]
Driver = /opt/local/lib/libtdsodbc.so
to your odbc.ini, and it should work.&lt;/p&gt;

&lt;p&gt;but it doesn&#039;t work.&lt;/p&gt;

&lt;p&gt;I found that the pyodbc use the iodbc instead unixODBC,how to switch them?&lt;/p&gt;

&lt;p&gt;thank you again.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>thanks for you article,I almost make it work on my mac! the isql works fine now,but i have the same problem as Timothy&#8217;s. When try to get data from mssql server from SQLAlchemy:
DBAPIError: (Error) (’IM002′, ‘[IM002] [iODBC][Driver Manager]Data source name not found and no default driver specified.</p>

<p>I try to add
 [Default]
Driver = /opt/local/lib/libtdsodbc.so
to your odbc.ini, and it should work.</p>

<p>but it doesn&#8217;t work.</p>

<p>I found that the pyodbc use the iodbc instead unixODBC,how to switch them?</p>

<p>thank you again.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Nanda</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-66</link>
		<dc:creator>Nanda</dc:creator>
		<pubDate>Tue, 12 Jan 2010 04:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-66</guid>
		<description>&lt;p&gt;worked perfectly. thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>worked perfectly. thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Singleton</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-56</link>
		<dc:creator>Ed Singleton</dc:creator>
		<pubDate>Wed, 12 Aug 2009 15:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-56</guid>
		<description>&lt;p&gt;You&#039;re right.  Having recreated the error message, it turns out I&#039;m using iODBC as well (the default on Mac).&lt;/p&gt;

&lt;p&gt;The error message means you need to add:&lt;/p&gt;

&lt;p&gt;[Default]&lt;br&gt;
Driver          = /opt/local/lib/libtdsodbc.so&lt;/p&gt;

&lt;p&gt;to your odbc.ini, and it should work.&lt;/p&gt;

&lt;p&gt;Thanks for that.  I&#039;ll update the article this evening.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You&#8217;re right.  Having recreated the error message, it turns out I&#8217;m using iODBC as well (the default on Mac).</p>

<p>The error message means you need to add:</p>

<p>[Default]<br />
Driver          = /opt/local/lib/libtdsodbc.so</p>

<p>to your odbc.ini, and it should work.</p>

<p>Thanks for that.  I&#8217;ll update the article this evening.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Timothy Tsvetkov</title>
		<link>http://blog.singletoned.net/2009/07/connecting-to-ms-sql-server-from-python-on-mac-os-x-leopard/comment-page-1/#comment-55</link>
		<dc:creator>Timothy Tsvetkov</dc:creator>
		<pubDate>Wed, 12 Aug 2009 14:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.singletoned.net/?p=19#comment-55</guid>
		<description>&lt;p&gt;Cool article. But i have a problem, when i try to get data from mssql server from SQLAlchemy:&lt;/p&gt;

&lt;p&gt;DBAPIError: (Error) (&#039;IM002&#039;, &#039;[IM002] [iODBC][Driver Manager]Data source name not found and no default driver specified.&lt;/p&gt;

&lt;p&gt;So, how to tell it to use unixODBC instead of not configured iODBC&lt;/p&gt;

&lt;p&gt;Thx.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Cool article. But i have a problem, when i try to get data from mssql server from SQLAlchemy:</p>

<p>DBAPIError: (Error) (&#8216;IM002&#8242;, &#8216;[IM002] [iODBC][Driver Manager]Data source name not found and no default driver specified.</p>

<p>So, how to tell it to use unixODBC instead of not configured iODBC</p>

<p>Thx.</p>]]></content:encoded>
	</item>
</channel>
</rss>
