google-code-export / pymssql

Automatically exported from code.google.com/p/pymssql
GNU Lesser General Public License v2.1
0 stars 0 forks source link

cannot connect to db from pymssql, can with tsql #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
import pymssql
conn = pymssql.connect(host='DEV', user='metashop_full', password='***', 
database='meta_full_test')
conn.close()
2.
$ tsql -S DEV -U metashop_full -D meta_full_test

What is the expected output? What do you see instead?
With tsql all is ok. From python got OperationalError: (18456, "Login failed 
for user 'metashop_full'.")

What version of the product are you using? On what operating system?
Mac OS X 10.5.8, pymssql SVN r230, freetds-0.82 (x86_64), Python 2.7

Please provide any additional information below.
See attached freetds logs

Original issue reported on code.google.com by vlad.she...@gmail.com on 8 Feb 2011 at 10:51

Attachments:

GoogleCodeExporter commented 9 years ago
What happens if you use -H dev when connecting via tsql?

Original comment by dam...@gmail.com on 8 Mar 2011 at 3:28

GoogleCodeExporter commented 9 years ago

Original comment by dam...@gmail.com on 8 Mar 2011 at 3:37

GoogleCodeExporter commented 9 years ago
going to assume this is fixed since I don't have connection issues with HG tip.

Original comment by rsyr...@gmail.com on 8 Mar 2012 at 3:15