Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 3 comments
Closed

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

GoogleCodeExporter opened this issue Mar 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

  • Added labels: PyMssql-2.x

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant