-
Notifications
You must be signed in to change notification settings - Fork 500
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
DSN parameter in connection string #532
Comments
Hi @manawasp, it is possible to connect with those parameters and I have confirmed this using my own dsn. Can you confirm the connection information in your dsn is correct. Also in the error message it seems to be trying to connect to localhost on port 1433, is this what you have in your DSN? Finally what authentication type are you using to connect? |
Hi, thanks for your answer I will do some tests. |
@manawasp, are you able to connect using connection string parameters instead of a DSN with the Go driver? |
Hey @chris-rossi sorry for the very late answer, I'm pretty sure my issue is related to this one: #383 and see there is PR under review: #702 Thanks for your time and if you need some people to perform tests don't hesitate to notify me |
Hello,
I try to play with mssql in Golang, moving some code from python.
In python, I was using pyodbc (pyodbc DSN doc) and my connection string looks like this :
Which is working, so I just translated it in Go but it doesn't work I guess I miss something :/
I adapted this code from the
simple.go
file.Do you have an idea if it possible to connect using those parameters?
Thanks !
The text was updated successfully, but these errors were encountered: