mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-26 00:55:53 +03:00
[GH-ISSUE #22] Can Not Connect To Sql server #9
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
refactoring
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sandman2-jeffknupp#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @uditvishnoi on GitHub (Jan 18, 2016).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/22
Hey , i am not bale to connect to Sql server database , i am new to python . I am getting this error
File "pymssql.pyx", line 639, in pymssql.connect (pymssql.c:10246)
sqlalchemy.exc.InterfaceError: (pymssql.InterfaceError) Connection to the database failed for an unknown reason.
I am using this commmand to connect to sql server
sandmanctl mssql+pymssql://username:password@servername/database
@filmackay commented on GitHub (Jan 18, 2016):
Personally, I would use pyodbc instead. newer things (AlwaysOn availability etc.) are really only supported with ODBC.
What platform are you connecting from?
@jeffknupp commented on GitHub (Jan 22, 2016):
This doesn't appear to be a sandman issue, but rather an issue with the underlying database library. Are you able to connect to your database using the library in the "normal" way?