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
Unable to connect to MSSQL instance. #62
Comments
Please close this issue, had typo in configuration, now everything works. |
Hi @dbackowski, I'm glad that you were able to figure out the cause of your problem. I'll close this. Please let me know if you run into any more trouble. |
Sorry if I have to bump this, but I am facing the exact same issue. @dbackowski where did you notice the typo? |
@frostymarvelous i don't remember |
I finally got it working. It wasnt a typo, but I still don't know for sure. I removed the port option and added the tds-version and it seemed to work But I kept tinkering so much I can't be certain. On Fri, Jun 24, 2016, 6:27 AM Damian Baćkowski notifications@github.com
|
Hey @frostymarvelous can you show me your configuration? I'm facing the same issues but with error code |
Sorry, I left the job last month. I don't have the source. |
Hi @lleirborras, Is your tds_fdw built from the latest master? If so, you might be able to get more information about the problem by: 1.) Adding
2.) Set
|
start SQL Server Browser |
I had the same issue until I used the 'database' parameter when defining the foreign server (an Azure SQL Server with multiple databases) |
Hello @GeoffMontee ,
I know I can connect to the server: What is strange is that I appear to be able to connect from another remote server as user "sa" using JDBC.
This returns data ... so I removed the user mapping for "sa", added another for "analyst1", made a new JDBC connection and was able to get data ...
|
Well, just to clarify what I think the problem is above, it seems to be an issue with the inability to disable TLS/SSL using the version 18 driver of MS SQL ODBC. |
I have MSSQL server running with instance name 'OPTIMA' on 10.0.0.2.
Already tried:
Setting servername and port as instance name
error message:
Setting servename as ip address with instance name
CREATE SERVER mssql_server FOREIGN DATA WRAPPER tds_fdw OPTIONS (servername '10.0.0.2\OPTIMA');
error message:
Create server configuration in freetds.conf:
and connect by server name
CREATE SERVER mssql_server FOREIGN DATA WRAPPER tds_fdw OPTIONS (servername 'myserver');
error message:
Connection by tsql works:
result:
The text was updated successfully, but these errors were encountered: