I am having a lot of issues trying to connect to my mssql server. I have gone through what feels like hundreds of SO threads and articles over the last two days trying to connect these two.
Here's what I can do.
From Ubuntu, I can ping Window MSSQL Server
I can successfully telnet 192.168.0.40 1433
I can even successfully connect using tsql -H sqlserver.domain.com.au -p 1433 -U nbar -P nb
No I don't mind you seeing my passwords as they are demo user I created.
I even get data with
use database
go
select * from table
But when I try the same using tsql -S Myserver -U nbar -P nb
I get nothing! Only the counter.
Eventually it times out.
Here is my freetds.conf
[MyServer]
host = sqlserver.domain.com.au
port = 1443
tds version = 7.3
For further information my eventual goal is to connect a flask app using pyodbc.
I recently tried to configure my odbc.ini
[MYSERVER]
Description = "My Test Connection"
Driver = FreeTDS
ServerName = MyServer
Server = 192.168.0.40
Port = 1433
Database = databaseName
Any shoving in the right direction would be greatly appreciated. If you think I missed some information let me know and I will add via edits.