You're connecting just fine.&nbsp; Sybase is sending back an error message telling you what character set and database you are using.&nbsp; You'll have to trap for that and just drop the &quot;error&quot;<br><br><div><span class="gmail_quote">
On 3/21/06, <b class="gmail_sendername">David Bear</b> &lt;<a href="mailto:David.Bear@asu.edu">David.Bear@asu.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am using freetds instead of sybase to connect to our sybase server.<br><br>==========<br>d = Sybase.connect('ASU_DATA_WAREHOUSE', 'user', 'pw')<br>Traceback (most recent call last):<br>&nbsp;&nbsp;File &quot;&lt;stdin&gt;&quot;, line 1, in ?
<br>&nbsp;&nbsp;File &quot;/usr/lib64/python2.4/site-packages/Sybase.py&quot;, line 1005, in<br>connect<br>&nbsp;&nbsp;&nbsp;&nbsp;strip, auto_commit, delay_connect, locking)<br>&nbsp;&nbsp;File &quot;/usr/lib64/python2.4/site-packages/Sybase.py&quot;, line 867, in
<br>__init__<br>&nbsp;&nbsp;&nbsp;&nbsp;self.connect()<br>&nbsp;&nbsp;File &quot;/usr/lib64/python2.4/site-packages/Sybase.py&quot;, line 886, in<br>connect<br>&nbsp;&nbsp;&nbsp;&nbsp;status = conn.ct_connect(self.dsn)<br>&nbsp;&nbsp;File &quot;/usr/lib64/python2.4/site-packages/Sybase.py&quot;, line 200, in
<br>_servermsg_cb<br>&nbsp;&nbsp;&nbsp;&nbsp;raise DatabaseError(_fmt_server(msg))<br>Sybase.DatabaseError: Msg 4294973000, Level 10, State 1<br>Changed client character set setting to 'iso_1'.<br>Msg 8589940293, Level 10, State 2<br>Changed database context to 'DICTIONARY'.
<br>===============<br><br>the connection object never gets made. Can anyone shed light on what<br>this error means? I am able to connect using freetds tsql command.<br><br>--<br>David Bear<br>phone:&nbsp;&nbsp;480-965-8257<br>fax:&nbsp;&nbsp;&nbsp;&nbsp;480-965-9189
<br>College of Public Programs/ASU<br>Wilson Hall 232<br>Tempe, AZ 85287-0803<br> &quot;Beware the IP portfolio, everyone will be suspect of trespassing&quot;<br>_______________________________________________<br>Python-sybase mailing list
<br><a href="mailto:Python-sybase@www.object-craft.com.au">Python-sybase@www.object-craft.com.au</a><br><a href="https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase">https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Nervous passengers are advised to wear a blindfold.